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
Use case: In the menu bar's overlay, we have a component which is not a vaadin-context-menu-item (added with the Java API, but can as well be done with the web component's item.component API). When clicking this component, we'd like the overlay to close.
Currently, the overlay closes only when selecting a vaadin-context-menu-item, and there's no public API to close the menu's manually eg. on click event.
A simple close function would be useful (with Java API as well).
Workaround: menuBar._subMenu.close()
The text was updated successfully, but these errors were encountered:
Use case: In the menu bar's overlay, we have a component which is not a
vaadin-context-menu-item
(added with the Java API, but can as well be done with the web component'sitem.component
API). When clicking this component, we'd like the overlay to close.Currently, the overlay closes only when selecting a
vaadin-context-menu-item
, and there's no public API to close the menu's manually eg. on click event.A simple
close
function would be useful (with Java API as well).Workaround:
menuBar._subMenu.close()
The text was updated successfully, but these errors were encountered: