-
Notifications
You must be signed in to change notification settings - Fork 23
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
fix(list): tooltip never disapear after hover on disabled checkbox #2092
Conversation
size-limit report 📦
|
Codecov Report
@@ Coverage Diff @@
## main #2092 +/- ##
=======================================
Coverage 95.11% 95.12%
=======================================
Files 121 121
Lines 3051 3054 +3
Branches 418 421 +3
=======================================
+ Hits 2902 2905 +3
Misses 115 115
Partials 34 34
Continue to review full report at Codecov.
|
## [0.212.10](v0.212.9...v0.212.10) (2022-12-08) ### 📦 Chore * **devdeps:** update dependency @scaleway/use-i18n to v4.1.3 ([#2107](#2107)) ([6f37323](6f37323)) ### 🐛 Bug Fixes * **list:** tooltip never disapear after hover on disabled checkbox ([#2092](#2092)) ([d8d36eb](d8d36eb)) * **tabs:** vertical scroll triggred on page load ([#2100](#2100)) ([fd6da30](fd6da30))
🎉 This PR is included in version 0.212.10 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary
Type
Summarise concisely:
What is expected?
Tooltip is displayed still when hovering a disabled checkbox on a List. It was hard to find a reason why but it seems like svg events are causing conflict with tooltip, I found this about the topic: facebook/react#4492 (comment)
Adding
pointer-event: none
to a disabled checkbox on List solved the issue.Relevant logs and/or screenshots
Before:
Screen.Recording.2022-12-06.at.10.51.16.mov
After:
Screen.Recording.2022-12-06.at.10.58.31.mov