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
Is it possible to add a data-garden-id to the Icon for a selected menu item so it can be targeted by css selector outside?? In previous garden versions where these were inserted via a pseduo selector they could easily be found, but in the new setup without a data-garden-id on the StyledItemIcon its quite a pain.
The text was updated successfully, but these errors were encountered:
agrohs
changed the title
Missing data-garden-id on Menu Item Icon?
Missing data-garden-id on Menu Item Icon
Jul 8, 2021
Hey @agrohs, thanks for bringing this to our attention. In the meantime, would you be able to style the icon using a scoped styled component? Here's an example: https://codesandbox.io/s/gifted-rhodes-0fc8w.
react-components/packages/dropdowns/src/elements/Menu/Items/Item.tsx
Line 95 in d4fd7bc
Is it possible to add a
data-garden-id
to the Icon for a selected menu item so it can be targeted by css selector outside?? In previous garden versions where these were inserted via a pseduo selector they could easily be found, but in the new setup without adata-garden-id
on theStyledItemIcon
its quite a pain.The text was updated successfully, but these errors were encountered: