-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ux: tooltip should not show when click the button when use delay #910
Comments
We currently have a click/touch listener which will toggle the tooltip if it is not showing Lines 140 to 150 in c89bdea
I think this is mostly for touch screens, but it probably should still honor the delay. We should probably change it to call this.onMouseOverTooltip() instead of this.toggle() |
Hi @TheSharpieOne just let me know if need me do something. Thanks again! |
Do you have any idea of how to fix it please? This is very problematic for me, when I use it on a button, with or without delay, the Tooltip will shows again and stays like a popover until I out focus the button. |
Looks like this is fixed in the |
^8.2.0 introduced a side effect that not if you want to get the desired behavior you will additionally need to pass |
Issue description
tooltip
4.0.0
not sure
16.2.0
5.0.0 beta 2
What is happening?
I am using
delay
to show tooltip after 2s. However, now when I click the button immediately, it also shows the tooltip.It happens to both
Tooltip
andUncontrolledTooltip
.It is just a user experience issue, not really a bug.
Code
Live demo
The text was updated successfully, but these errors were encountered: