-
-
Notifications
You must be signed in to change notification settings - Fork 532
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] flickering behaviour with data-tooltip-hidden #1114
Comments
In my case, since 5.22.0 I noticed another side-effect. If |
Seems the issue is wider than just |
Sorry for the delay, for some reason I'm not receiving GitHub notifications for new issues anymore. Weird stuff. All problems described here in the thread are very likely due to the new "fade-out" transition when closing the tooltip, which used to just abruptly close before v5.22.0. |
The beta version @dsims01 the problem with |
Fixed on official release |
Bug description
data-tooltip-hidden={true}
results in flickering behaviour when mousing over from an element that has a visible tooltip.Version of Package
v5.22.0
To Reproduce
Hover from an anchor element that has
data-tooltip-hidden={false}
, to an element withdata-tooltip-hidden={true}
. You should see the tooltip for the element withdata-tooltip-hidden={true}
appear for a split second and then disappear.CodeSandbox repro: https://codesandbox.io/s/admiring-shadow-ny25y8?file=/src/App.js
Odd numbered words have
data-tooltip-hidden
set tofalse
. If you hover from an odd numbered word to an even numbered one, you will see the tooltip that should be hidden appear for a split second.Screenshots
Video:
Screen.Recording.2023-11-06.at.3.21.26.PM.mov
Expected behavior
When hovering from an anchor with a tooltip that has
data-tooltip-hidden
set tofalse
to an anchor with a tooltip that is hidden, the hidden tooltip should not appear at all.The text was updated successfully, but these errors were encountered: