You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Setting a new min/max value for a numeric slider causes an exception #47
While I understand having logic of setting to a particular range of max / min in a loop may mitigate these issues, it seems a bit silly considering the problem is the order of attributes being set.
When trying to update a numeric slider (only tested on
IntRangeSlider) and the min or max value is update, it causes atraitlets.traitlets.TraitError.Case where new min > current max:
Reacton.slider.issue.-.pt.1.mov
The order of the attributes being input set seems to mitigate the issue:
Reacton.slider.issue.-.pt.2.mov
But if you update to a different value, it can still break. Case where new max < current min:
Reacton.slider.issue.-.pt.3.mov
I would think these lines would handle catching that?
reacton/reacton/core.py
Lines 1980 to 1985 in 51e6eda