Setting a new min/max value for a numeric slider causes an exception
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
The reported path is reacton/core.py around lines 1980-1985; start by reproducing the IntRangeSlider min/max updates described in the issue, including both invalid intermediate orderings. Done means changing min or max in these cases no longer raises TraitError.
Written by the indexing model from the issue text.
Description
When trying to update a numeric slider (only tested on IntRangeSlider) and the min or max value is update, it causes a traitlets.traitlets.TraitError.
Case where new min > current max:
https://github.com/user-attachments/assets/28842a11-1222-4f14-bac0-ef13619008d6
The order of the attributes being input set seems to mitigate the issue:
https://github.com/user-attachments/assets/629b4b10-6381-4019-995c-6f182ccb7170
But if you update to a different value, it can still break. Case where new max < current min:
https://github.com/user-attachments/assets/2f80a9dc-3d98-423e-9339-69cadd282520
I would think these lines would handle catching that?
- Dominant language
- Python
- Stars
- 317
- Forks
- 19
- Avg merge
- 14m
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from widgetti/reacton
-
Element keys set with Reacton `.key(...)` are not recognized by the ipyvuetify transition group Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in widgetti/reacton
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
stephrobert/dsoxlab#238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
sublimehq/package_control#1780 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
nwg-piotr/nwg-displays#145 ·