MenuBar - how to display menu items by moving mouse over instead of click

I use com.vaadin.ui.MenuBar component to generate menu/menu items, it works.
However I like to have sub menu items showing up when I move the mouse over the menu area instead of clicking it. Any solution or how I can set some method upon MenuBar class to do that?

Thanks!

MenuBar doesn’t support such functionality currently. You can create an enhancement ticket about the issue:
http://dev.vaadin.com/newticket
.

Or you could just extend the client-side VMenuBar class and do it your self.

Here’s the relevant method that needs to be modified:
VMenuBar.java#L544

Hi,

I’m also interested in a functionality like this.

Did anyone implemented it by extending
VMenuBar
already? Maybe you could post your solution…

Thanks, Thorsten

FYI: Vaadin 7 supports this using https://vaadin.com/api/7.1.2/com/vaadin/ui/MenuBar.html#setAutoOpen(boolean)