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

Regression of #5854 #6614

Closed
Domino987 opened this issue May 24, 2023 · 0 comments
Closed

Regression of #5854 #6614

Domino987 opened this issue May 24, 2023 · 0 comments
Labels
bug something broken regression this used to work

Comments

@Domino987
Copy link
Contributor

Regression of #5854
If all current markers show within range have hoverinfo: "none" with hovermode: "x unified", an error is thrown:
Cannot read properties of undefined (reading 'hoverLabels')

If the marker is hovered, it throws the error.

It seems like the hoverlabels are being accessed, but because no marker with a hoverinfo is currently visible, due to them being outside of the rendered range, they cannot be found.

I would expect the hover event to be called, but no hoverlabel to be shown.

Here is a minimal Sandbox

Domino987 added a commit to Domino987/plotly.js that referenced this issue May 24, 2023
@archmoj archmoj added bug something broken regression this used to work community community contribution status: reviewable labels May 30, 2023
archmoj added a commit that referenced this issue May 30, 2023
@archmoj archmoj removed status: reviewable community community contribution labels Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken regression this used to work
Projects
None yet
Development

No branches or pull requests

3 participants