I want to use Anchor element with Button as child, but in this case i got exception:
java.lang.UnsupportedOperationException: Confirmed duplicate message from the client. Expected sync id: 2, got 1. Message start: {"csrfToken":"992caf41-4b1c-4b1e-97da-04c83c55301a","rpc":[{"type":"event","node":10,"event":"click","data":{"event.shiftKey":false,"event.metaKey":false,"event.detail":1,"event.ctrlKey":false,"event.clientX":693,"event.clientY":166,"event.altKey":false,"event.button":0,"event.screenY":262,"event.screenX":693}}],"syncId":1,"clientId":1}
Here is source code for my elements:
Button button = new Button("Rules");
Anchor anchor = new Anchor("/rules", button);
My classes sources: https://pastebin.com/G8zU0csP
I am using Vaadin 14.0.5 Can anyone help me with this issue?