-
Notifications
You must be signed in to change notification settings - Fork 146
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
refactor: item interactive #5005
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Kyran! I never think to try this pseudo
stuff, great idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still pushing to rename this component to Pressable
, but for a later discussion when possibly shared with mobile.
Re-ran the jobs to try get this merged. I can't see how this would cause shard 3 + 8 to fail so we can revisit improving tests soon. |
Also confused. It's a pretty minor UI change. Fara's avatar and my other PR run fine. |
000ba9f
to
275186b
Compare
275186b
to
52c6689
Compare
Turns out it was because of some strange behaviour with the psuedo element where in practice it was clickable, but in the test it wasn't able to click it. Pointer events fixes. |
Quick fix PR that removes margins from item interactive and applies hover state with pseudo element. This should help @pete-watters