-
Notifications
You must be signed in to change notification settings - Fork 206
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
[Bug]: We need a way to disable hover state for all spectrum buttons on mobile devices #2598
Comments
Thanks @monkeyjabs! We just merged #2597, would you be able to checkout https://main--spectrum-web-components.netlify.app/ and let us know how if you're seeing this situation lessened? |
@Westbrook It looks like this the fix in #2597 did improved a bit but I'm still seeing issue. I tried with the sp-menu component here from: https://main--spectrum-web-components.netlify.app/components/menu/#managing-a-selection If I tap on the menu item and scroll I sell see the hover state remain. |
To do: ask Spectrum css about hover state behaviour. |
We've upstreamed an issue to Spectrum CSS to wrap |
@Westbrook is there a way to track that upstream issue? |
You can track here: https://jira.corp.adobe.com/projects/CSS/issues/CSS-289 We'll be discussing https://github.com/saulhardman/postcss-hover-media-feature after the holidays and whether/were's the right place to inject that in the overall Spectrum universe. |
Code of conduct
Impacted component(s)
ProjectX
Expected behavior
There's a lingering hover effect on the mobile browser with button-related components such as
sp-menu-item
,sp-action-button
, andsp-button
; this is causing confusion for users.Actual behavior
SWC should have a way to detect on mobile devices and disabled the hover effects
Screenshots
RPReplay_Final1663353021.MP4
What browsers are you seeing the problem in?
Safari
How can we reproduce this issue?
Sample code that illustrates the problem
No response
Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: