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
Hide has a short delay even though delay
prop set to 0
#328
Comments
If I personally haven't experienced such delays with tippy, but it is pretty common in the JS world for |
Have you tried mounting your tippys to a separate |
For anyone coming here using This took me for a bit of a spin, as I'd assume that the default desired behavior for |
@KubaJastrz There is definitely something strange going on: This is clearly a bug. |
@AakashMallik What do you mean by "sluggish exit animation"? It looks smooth to me (windows 10, brave browser).
|
In that case, the two examples I have linked from the doc are inconsistent in behaviour. One animates out, while the other abruptly disappears. But I think u made the prop clear to me. I'll check what can be done from my end to get the desired result I am looking for. |
@KubaJastrz I just realized how dumb I am. I was comparing examples between delay and duration 😢 . |
For me, |
I made a simple navbar by using Tippy. Then I realize the child items are hidden after a small period of time like it has a short delay (feel like 10-50 ms). I thought it was a default, then I try to set the delay to 0 and [0,0], but it still happens.. If I set delay to [500, 1000], it's not really that visible, but when I want to make it hidden directly, it has a short delay.
Can anyone tell me what;s going on? You can try it by make sandbox on Codesandbox.io, add @tippyjs/react, make a simple Tooltip, and you can feel there is a delay on hide.
The text was updated successfully, but these errors were encountered: