spectrum-web-components
spectrum-web-components copied to clipboard
[Feat]: ActionMenu - PickerBase - make TriggerInteraction customizable
Code of conduct
- [X] I agree to follow this project's code of conduct.
Impacted component(s)
ActionMenu, PickerBase
Description of the requested feature
As we’re restructuring our Headerbar/Navbar menu system I’d like to use ActionMenus for most of the menu components, but would also like to open them not in modal mode (preferable inline as before) to enable users to hover and click other menu triggers with the current menu open. As it definitively makes sense for a single picker to open in modal mode, we’d like to use an optional parameter to adjust the TriggerInteractions of the openOverlay call of PickerBase. Can be set to modal as default.
Mockups or screenshots
No response
Implementation notes or ideas
add an optional param to ActionMenu to provide the desired TriggerInteraction to PickerBase.
default should be modal.