-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
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
Hover state becomes stuck after tap on iOS #1827
Comments
This comment was marked as spam.
This comment was marked as spam.
While working on #1919 I was using |
We might want to use The downside is that we'll have some false positives on hybrid/multi-modality devices, but it would still be better than the current situation. |
@mayank99, what would be the best way to handle situations like this? &:where(:hover, :active) {
…
} Duplicate the CSS? @media (any-hover: hover) {
&:where(:hover) {
…
}
}
&:where(:active) {
…
} |
Also |
Yeah, I think duplication should be fine, as long as
Maybe we should consider switching away from backstop to |
Describe the bug (actual behavior)
When tapping a button on iOS, the button gets stuck in the
:hover
state. This likely effects all components that have a:hover
state & after interaction you stay on the same page.Reproduction
Additional information
I discovered this bug while working on a personal project and learned that this solution fixes the issue:
The text was updated successfully, but these errors were encountered: