We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given this element style:
main-container:is(:hover, :focus) .tooltip { opacity: 1; }
Writing a story that activates hover or focus styles do not apply.
hover
focus
<Story name="Tooltip Component Hover" parameters={{ pseudo: { hover: true } }} />
Avoid using :is() and :where() when it involves :hover, :focus, and other desirable pseudo states.
:is()
:where()
:hover
:focus
-main-container:is(:hover, :focus) .tooltip { +main-container:hover .tooltip, +main-container:focus .tooltip, { opacity: 1; }
Possibly relates to #99, #88, and other tickets that relate to pseudo states not applying.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
Given this element style:
Writing a story that activates
hover
orfocus
styles do not apply.Workaround
Avoid using
:is()
and:where()
when it involves:hover
,:focus
, and other desirable pseudo states.Possibly relates to #99, #88, and other tickets that relate to pseudo states not applying.
The text was updated successfully, but these errors were encountered: