Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Don't handle right mouse click event in clickLayout.
Hi,
I want to not handle right mouse click events in my LayoutClickListener clickLayout method and let the browser handle them as is the case with Button.ClickListener - where if you right click the browser handles the event. Is there a way to do this?
The right click (context menu click) as well as click and double click is handled in com.vaadin.terminal.gwt.client.ui.ClickEventHandler i.e. in client-side code. When a click listener is added to a layout in server-side the client-side registers handler for all of the click types. That means that it's not configurable from server-side.