Skip to content
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 Jumps from outside the portal to inside the portal on first render #1643

Closed
Joker666 opened this issue Jan 31, 2023 · 2 comments
Closed

Comments

@Joker666
Copy link

I first discovered the issue when playing with the demo. but couldn't reproduce it consistently, until I ran it from my machine and the codesandbox. Here's a demo of what happens.

My.Movie.mp4

Here's a reproduction in the Codesandbox. Beccuase we are always showing the tooltip here, hiding and showing it repetitively produces the bug. In the demo it happens quite fast, I slowed down the video to make it visible.

https://codesandbox.io/p/github/Joker666/visx-app-tooltip/draft/frosty-bartik

I actually picked the demo from one of the issues

@Joker666
Copy link
Author

@williaster I have tested the issue with V3.0.0 and v2.18.0

Because I am using NextJS, I have to choose v2.18.0. So if this is fixed in a patch in a later version but #1637 is not fixed yet, I won't be able to use it. So if there's a workaround to this I can use from the outside would be a good solution for now

@Joker666
Copy link
Author

Joker666 commented Feb 2, 2023

It's only happening with XYCharts, I am closing this as I was able to resolve it by using the primitives and using TooltipWithBounds

@Joker666 Joker666 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant