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?


MenuBar doesn’t support such functionality currently. You can create an enhancement ticket about the issue:

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:


I’m also interested in a functionality like this.

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

Thanks, Thorsten

FYI: Vaadin 7 supports this using