Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

fixes tooltips on RangeSlider #963

Merged
merged 6 commits into from
May 14, 2021

Conversation

AnnMarieW
Copy link
Contributor

@AnnMarieW AnnMarieW commented May 6, 2021

Closes #885
Closes #919
Closes #763

This applies the fix from #878 to the RangeSlider. It not only fixes the bug where the tooltips were visible when slider was not, but it also reduces the lag in the tooltips when the slider handles are moved.

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

Thanks @AnnMarieW - this looks great! 💃

Let's see if the tests pass with the merge of the latest dev, ie was CircleCI just having a bad day or is there really something wrong.

dash_dcc.start_server(app)
dash_dcc.wait_for_element("#test-slider")
dash_dcc.percy_snapshot(
"slider-make sure tooltips are only visible if parent slider is visible"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh right - this line is failing because percy snapshot names need to be unique, this matches #878

Normally it's nice to keep these snapshot names shorter too, though of course I should have provided that feedback in #878 😉

@alexcjohnson alexcjohnson merged commit b71375d into plotly:dev May 14, 2021
@AnnMarieW AnnMarieW deleted the tooltip-fix-rangeslider branch May 14, 2021 00:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants