Skip to content

Incorrect hover invariant in period mode #5681

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

Closed
nicolaskruchten opened this issue May 25, 2021 · 1 comment · Fixed by #5683
Closed

Incorrect hover invariant in period mode #5681

nicolaskruchten opened this issue May 25, 2021 · 1 comment · Fixed by #5683
Labels
bug something broken

Comments

@nicolaskruchten
Copy link
Contributor

In this pen https://codepen.io/nicolaskruchten/pen/qBrjNLJ?editors=0010 which is based on this morning's master, hovering over the April scatter point pulls in the wrong value for the bar trace (April 1 is not in Q1).

This is a v2 blocker.

@nicolaskruchten nicolaskruchten added the bug something broken label May 25, 2021
@archmoj
Copy link
Contributor

archmoj commented May 25, 2021

This appears to be related to hovermode: -1 and period positions.
Most likely the infinity confuses distance sort.
Simplified codepen
Investigating...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
2 participants