Created
December 13, 2023 14:47
-
-
Save TatuLund/a94cdc093b836fb68b080e5525e5823d to your computer and use it in GitHub Desktop.
Example of how to open GridContextMenu with the left click on the icon while opening it with the right click elsewhere.
I suppose we can use these ClickEvent properties: e.getScreenX and e.getScreenY, worked for me.
Yes. There are variations of the approach you can use.
There is feature request here: vaadin/flow-components#3606
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @TatuLund
regarding this part
Instead of fetching x and y in JS code I suppose we can use these ClickEvent properties:
e.getScreenX
ande.getScreenY
, worked for me.However I continue to believe that this is still just a workaround and some official, standardized approach would be preferable.