-
-
Notifications
You must be signed in to change notification settings - Fork 529
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
[BUG] Anchor element doesn't open tooltip until re-render #1189
Comments
Could you do a quick test if it works with using Also, I'm not sure this effect works as you expect.
Refs created with Please also try downgrading to v5.26.0. Some users reported some issues that we haven't been able to reproduce, and that downgrading worked for them. Let us know when you try. |
I got the same issue when using As for the Downgrading to |
That's good news for you, but bad news for us 😅. No idea why the more recent versions seemingly broke the tooltip. If it's not too much to ask, do you mind testing, From another issue that was opened, I think it was |
@gabrieljablonski any updates on this issue? I encounter the same issue on version 5.26.3, sometimes the tooltip works as expected, sometimes I have to rerender before tooltip works, just like the issue @DenisLantero mentioned and showcased in the video. In the meantime, I'll try downgrading to 5.26.0 |
This issue is stale because it has not seen activity in 30 days. Remove the |
Bug description
Sometimes the anchor elements don't open the tooltip, until they get rerendered.
This is the code for my anchor elements:
And this is my code for the tooltip itself:
Here's a video demonstrating the issue:
https://github.com/ReactTooltip/react-tooltip/assets/83024157/e89d6ff2-89ab-41c3-9c67-f39cec674870
Version of Package
v5.26.4
To Reproduce
I am not sure how you can reproduce this issue since I don't even know what's the cause of this problem
Expected behavior
The tooltip should open every time an element that respects the
anchorSelect
prop is clicked, regardless of the timing of its renderDesktop (please complete the following information if possible or delete this section):
Additional context
The element that you see in the video is a Drag And Drop Kanban Board with virtualized columns. Initially, I thought the problem had something to do with the virtualization of the component that contains the tooltip anchor, but the tooltips anchor work fine on elements that are not in the first render of the Kanban Board, I believe it probably has something to do with the first render of the page, but I'm not sure.
Am I doing something wrong or is there a problem with the library? Please let me know :)
The text was updated successfully, but these errors were encountered: