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

Using y0 prop inside VictoryVoronoiContainer causes inaccurate tooltip activation #2298

Open
3 tasks done
andersonjc opened this issue Jun 10, 2022 · 6 comments · May be fixed by #3027
Open
3 tasks done

Using y0 prop inside VictoryVoronoiContainer causes inaccurate tooltip activation #2298

andersonjc opened this issue Jun 10, 2022 · 6 comments · May be fixed by #3027
Labels
Issue: Accepted The submitted issue has been confirmed by the Victory core team Type: Bug 🐛 Oh no! A bug or unintentional behavior

Comments

@andersonjc
Copy link

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

Copy link
Contributor

github-actions bot commented Mar 2, 2024

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.

@github-actions github-actions bot added the Issue: Stale This issue is marked as stale and will close in 14 days label Mar 2, 2024
@andersonjc
Copy link
Author

Verified that this is still a bug in v36.9.1

@github-actions github-actions bot removed the Issue: Stale This issue is marked as stale and will close in 14 days label Mar 8, 2024
Copy link
Contributor

github-actions bot commented Jun 7, 2024

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.

@github-actions github-actions bot added the Issue: Stale This issue is marked as stale and will close in 14 days label Jun 7, 2024
@carbonrobot carbonrobot removed the Issue: Stale This issue is marked as stale and will close in 14 days label Jun 7, 2024
Copy link
Contributor

github-actions bot commented Sep 6, 2024

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.

@github-actions github-actions bot added the Issue: Stale This issue is marked as stale and will close in 14 days label Sep 6, 2024
@andersonjc
Copy link
Author

Verified that this is still a bug in v37.1.1

@github-actions github-actions bot removed the Issue: Stale This issue is marked as stale and will close in 14 days label Sep 7, 2024
Copy link
Contributor

github-actions bot commented Dec 6, 2024

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.

@github-actions github-actions bot added the Issue: Stale This issue is marked as stale and will close in 14 days label Dec 6, 2024
@carbonrobot carbonrobot added Type: Bug 🐛 Oh no! A bug or unintentional behavior Issue: Accepted The submitted issue has been confirmed by the Victory core team and removed Issue: Stale This issue is marked as stale and will close in 14 days labels Dec 6, 2024
@ryansrofe ryansrofe linked a pull request Jan 9, 2025 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Accepted The submitted issue has been confirmed by the Victory core team Type: Bug 🐛 Oh no! A bug or unintentional behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants