[Feat]: Add a max-height css property for sp-action-menu / sp-menu #4785
Labels
Component: Action Menu
Discuss w/ design
Needs insight from Spectrum or another designer
enhancement
New feature or request
needs jira ticket
triage
An issue needing triage
Code of conduct
Impacted component(s)
sp-popover
Description of the requested feature
When using the
sp-action-menu
, there is no accessible way via css property to limit the height of thesp-menu
.We would like to add a
max-height
option in cases where we know a user could potentially have hundreds of options to select from. In this scenario, the menu fills the entire height of the available screen which can block/temporarily hide other important, informative and interactive UI.Mockups or screenshots
Implementation notes or ideas
We have already investigated the
sp-combobox
component and it is not an applicable solution for us at this time. The design implementation is an icon that a user clicks on to open the menu. Then the menu opens with an option to either create a library or save to an existing library. Users could have many libraries which are dynamically fetched and rendered when a user scrolls to the end of the menu.The text was updated successfully, but these errors were encountered: