-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Tooltip position when scrolling a container with overflow: auto/scroll #41
Comments
use getTooltipContainer to render inside specified container |
Ok, thanks. |
I have tried this but it does not work as the tooltip stays in place while scrolling. Could you provide an example? |
I just ran into this issue and I used
The documentation is a bit unclear and doesn't specify that it will actually move the tooltip into the specified container. Might just add in a PR to help out. |
Not sure if it's because the Tooltip Component is being rendered in
body
instead of inside another DOM node but when scrolling a div that hasoverflow: auto/scroll
, the tooltip won't "stick" to its container.In the simple example you can scroll and the tooltip is stuck to the container.
The text was updated successfully, but these errors were encountered: