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

Rangeslider range expands beyond data range and can't be reset ๐Ÿ“ˆ

(EDIT: Iโ€™m working in react using plotly-js)

Hey folks, let me know if this is the wrong area to post this question

Basically: The rangeslider range can be expanded beyond the range of the actual data. Once this happens, itโ€™s not possible to reset the range slider range.

Any help on this issue would be appreciated! Is it a known issue? Is my config wrong?

Here is as gif:

And here is a codepen:

Iโ€™ve tried a variety of things to fix this, but have not found a solution.

Is there a way to set the range programatically?

  • for instance: if range > limit, range = limit

Is there a config/layout option to limit the range?

I have found working examples that DONโ€™T exhibit this behavior here:

Thanks in advance!!!


Thanks for pointing this out. This is definitively a bug.