-
Notifications
You must be signed in to change notification settings - Fork 187
Description
Describe your motivation
Vaadin 8 used to offer MouseEvents.getRelativeY()
which would return the mouse position (y coordinate) when the click took place, relative to the clicked component.
Unfortunately, there's no such function in Vaadin 23's ClickEvent
- it offers screenY
and clientY
but the relativeY
value can not be calculated from those values.
Describe the solution you'd like
A ClickEvent.getRelativeY()
function, mimicking Vaadin 8's MouseEvents.getRelativeY()
. Also ContextMenuEvent.getRelativeY()
function.
Copilot
Metadata
Metadata
Assignees
Type
Projects
Status
Ready for Community