You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only problem is that, upon clicking on the "OK" button, the submenu stays open.
Describe the solution you'd like
It would be great to have a MenuBar.close() function which programmatically closes all open submenus. An implementation can be taken from vaadin/web-components#728 : we can simply call menuBar.getElement().executeJs("this._subMenu.close()"); from the server-side:
Describe your motivation
A PopupButton (a Button which shows a popup window with some rich layout on click) can easily be implemented via a MenuBar:
The only problem is that, upon clicking on the "OK" button, the submenu stays open.
Describe the solution you'd like
It would be great to have a
MenuBar.close()
function which programmatically closes all open submenus. An implementation can be taken from vaadin/web-components#728 : we can simply callmenuBar.getElement().executeJs("this._subMenu.close()");
from the server-side:Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: