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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Tailwind styling based on parent state (
group
classes) does not work currently. I would expect a child element to be able to set its style based on the parent's focus-visible state.https://tailwindcss.com/docs/hover-focus-and-other-states#styling-based-on-parent-state
In this example, the child chevron element would get a black bg on focus-visible.
group-ui-focus-visible:bg-black
https://stackblitz.com/edit/vitejs-vite-8hakuu?file=src%2FApp.jsx
PS: I'm not entirely sure if this is a bug with the new
ui-focus-visible
class or if this feature is not implemented yet for any of the classes.Related to 1694 and 2347
Beta Was this translation helpful? Give feedback.
All reactions