Skip to content

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Apr 16, 2019

Fixes #3776.
Codepen After.

@plotly/plotly_js
cc: @nicolaskruchten

@archmoj archmoj added status: reviewable bug something broken labels Apr 16, 2019
var trace = cd[0].trace;
var t = cd[0].t;
var isClosest = (hovermode === 'closest');
var isWaterfall = (trace.type === 'waterfall');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. I guess it would be annoying to move this logic in waterfall/hover.js. 😞

@etpinard
Copy link
Contributor

Thanks for the fix and test 💃

@archmoj archmoj merged commit 172c3e6 into master Apr 16, 2019
@archmoj archmoj deleted the fix3776-waterfall-hovermode-closest branch April 16, 2019 23:06
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

Development

Successfully merging this pull request may close these issues.

Waterfall hovermode closest bug

2 participants