-
Notifications
You must be signed in to change notification settings - Fork 20
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 should be rendered in the document body instead of just outside of div #13
Comments
What do you mean by "The tooltip cuts off"? Do you a a visual? |
Have a look url |
why not specify an |
Hi @xuopled It doesn't work, and it will not until we render our tooltip outside the parent div and inside the body tag as I have mentioned in my comment #13 (comment) |
Ok I understand. The problem is that the tooltip is positioned relatively to the component attached to it. If the tooltip is render before the end of the body, I will not be possible anymore. I open to a pull request if you success to do what you need without changing the tooltip behavior |
any update? |
If you want to help me with a PR, please do |
Currently, the tooltip is get rendered in this way
But in this case, if there is some other div are present before after then some portion of the tooltip cuts off.
In order to fix this, I think you need to render you tooltip every time just before the document body gets the end.
For your reference: http://jamesknelson.com/rendering-react-components-to-the-document-body/
The text was updated successfully, but these errors were encountered: