[Feat]: ActionMenu/Picker - add identifier to internal sp-menu for css customization #2068
Closed
1 task done
Labels
API
Component: Action Menu
Component: Overlay
Component: Picker
Discovery
enhancement
New feature or request
Code of conduct
Impacted component(s)
ActionMenu, Picker
Description of the requested feature
We have seen quite difficulties to adapt and style underlying
sp-menu
without any additional id or class of that element. The problem is - if you’d add css styles for ansp-menu
of anActionMenu
and the user opens another (not-styled)ActionMenu
, those sp-menu css styles will get also applied to the new menu, as there is a short time, when both menus are both opened.Would it be possible to add an optional parameter (
data-menu-id
or menuClass) to the newly created internal sp-menu in PickerBase to be used for styling or for e2e tests as css reference?Styling use cases could include:
Mockups or screenshots
No response
Implementation notes or ideas
No response
The text was updated successfully, but these errors were encountered: