-
Notifications
You must be signed in to change notification settings - Fork 525
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
Using y0 prop inside VictoryVoronoiContainer causes inaccurate tooltip activation #2298
Comments
This issue is stale because it has been open for 90 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Verified that this is still a bug in v36.9.1 |
This issue is stale because it has been open for 90 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
This issue is stale because it has been open for 90 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Verified that this is still a bug in v37.1.1 |
This issue is stale because it has been open for 90 days with no activity. If there is no activity in the next 7 days, the issue will be closed. |
Bug Reports
Checklist
I have read through the FAQ and Guides
I am using the latest version of Victory
I've searched open issues to make sure I'm not opening a duplicate issue
The Problem
Expected: When mousing over a Voronoi container with tooltips, the tooltip should activate when the mouse is closer to a given datapoint than any other datapoint.
Actual: When using the y0 prop on a VictoryArea inside a VictoryVoronoiContainer, the tooltips are activated when the mouse is quite far away from a given datapoint and much closer to another datapoint.
Reproduction
Repro sandbox: https://codesandbox.io/s/kind-ardinghelli-67jwh6?file=/index.js
Instructions to repro:
Expected behavior when lines 29 and 44 are commented out. Moving mouse closely underneath x,y coordinates 2,3 shows tooltip at 2,3.
Bug behavior when lines 29 and 44 are un-commented. Moving mouse closely underneath x,y coordinates 2,3 shows tooltip at 2,5.
Loom video showing repro: https://www.loom.com/share/90bfd4aeada54e2995fa62b78fe5d19e
The text was updated successfully, but these errors were encountered: