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
Links inside tooltip #60
Comments
Please try out v2.8.2 which has a potential fix. |
Now it works, thank you! |
Does it close when you drop the container? |
No, in our case |
I attach a |
Yep, we are using |
@elias-fadeyev Did you try to play with usePortal/portalContainer props? Tooltip can be attached to the draggable element instead of the document body. In this case, it should move with the appropriate container. |
@denisborovikov. Agree, but then this tooltip will be restricted to have the body only inside the container. It won't work for a big tooltip. |
@elias-fadeyev Does outer container have |
@denisborovikov my fault, you are absolutely right! Unfortunately, a big tooltip now works as a handle and I can use it to drag'n'drop the container, as a part of it) I'll try to find the solution for preventing this behavior. Thank you |
Reproduction demo
https://codesandbox.io/s/1q9yy1342j
Steps to reproduce the problem
What is the expected behavior?
I think
click trigger
should allow events inside the tooltipWhat went wrong?
The link doesn't follow the URL.
Click on the link
triggers_this.handleOutsideClick()
and then it callsevent.preventDefault()
.Any other comments?
Do we have any possibility to avoid this?
Or wouldn't it be a good idea to add
outsideClickHandler
to props?Packages versions
The text was updated successfully, but these errors were encountered: