[Feat]: Allow using popover menu style on mobile #4820
Labels
API
Component: Action Menu
enhancement
New feature or request
good first issue
Good for newcomers
jira ticket created
Mobile
Code of conduct
Impacted component(s)
sp-action-menu
Description of the requested feature
We've been using the action menu component in a header on our site, and sometimes it only has a few items. We've found the mobile tray that shows up at the bottom to be confusing and often too far away from the button you clicked.
It'd be really nice to have an option to disable the tray -- I'd expect the normal popover menu to work well on mobile anyways.
Mockups or screenshots
No response
Implementation notes or ideas
Just a simple
disable-mobile-tray
attribute or something similar would do the trick. The code looks like it'd be pretty simple to modify, but may also affect other components.The text was updated successfully, but these errors were encountered: