Right-click on DataGrid is buggy

Right-click on a row, which is not selected, pops up a context-menu, which is for the selected line, not for the line, which was clicked on.
It’s confusing.
The right-click should first select the line and then show the context menu.

Thank you.
Tomas

image

Hi,

This is behaviour of GridContextMenu provided by Vaadin, you can see it in their doc: Grid | Components | Vaadin Docs

Regards,
Gleb