Black Lives Matter. Please consider donating to Black Girls Code today.

Slider's hover does not move on values between -10 and 10

Hello,
A hover does not change its position when the slider’s value changes within interval [-10,10]. Additionally for values outside this interval the change of the position lags sometimes.

no_offset offset_1

dash                      1.9.0
dash-bootstrap-components 0.9.1
dash-core-components      1.8.0
dash-html-components      1.0.2
dash-renderer             1.2.4
dash-table                4.6.0

Code to reproduce

import dash
import dash_core_components as dcc


app = dash.Dash(
    __name__,
)

slider = dcc.Slider(min=-20, max=20, step=0.5, value=10,
                           included=False,
                           tooltip={'always_visible': True,
                                        'placement': 'bottom'},
                           updatemode='drag')


app.layout = slider

if __name__ == "__main__":
    app.run_server(debug=True)

Do you maybe know what is the problem and how to solve it?

Thanks

Hi @gregor welcome to the forum! Thank you for the bug report; we have indeed discovered recently the problem, which comes from an upstream library. You can suscribe to the related issue https://github.com/plotly/dash-core-components/issues/763 to be informed when the problem is resolved.

1 Like