-
-
Notifications
You must be signed in to change notification settings - Fork 533
Moving mouse from target into tooltip should have a delay if you cross another target accidently #411
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
Comments
That sounds like a useful feature, especially if you can provide a PR. It would be great to have an example showing this functionality - we've had several comments asking about how to get a button/menu/scrolling to work inside a tooltip. |
PR #416 |
That PR has broken another functionality We were hiding them using ReactTooltip.hide(); Could you please advise if there is a workaround? |
Ah, I see. I'm surprised you were ever able to get the mouse to enter the
tooltip without it dismissing but it looks like perhaps your target area is
large enough that the mouse doesn't have to leave it. I wonder if setting
delayHide to a small value would help. Are you getting any console errors
when you try to hide the tooltip?
…On Fri, Oct 5, 2018 at 6:09 AM Volodymyr Tsaryk ***@***.***> wrote:
That PR has broken another functionality
We have buttons in the tooltip http://take.ms/qfw0G and after the button
is clicked tooltip should become hidden, however after that update it
remains on screen and is hidden only after we remove the mouse cursor from
it.
We were hiding them using ReactTooltip.hide();
Could you please advise if there is a workaround?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#411 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADUvf_MHnoo984RTlwl1gEpM5DPZS-Fqks5uh1ntgaJpZM4V7i0l>
.
|
@RobertGary1 |
I have a tooltip that contains a menu. So the user slides the mouse up into the tooltip. However, if they accidently touch another target getContent gets called and the content is immediatly changed, even though we have delayShow. I'd like to check in a change that if the tooltip is currently active and the user sets a parameter such as "delayNewContent" then we apply a delay before calling getContent. As usually once they enter the tooltip the timer will be cleared and the desired tooltip is still shown.
The text was updated successfully, but these errors were encountered: