[Feat]: Default-values for slider / sider-handle
See original GitHub issueCode of conduct
- I agree to follow this project’s code of conduct.
Impacted component(s)
Slider, SliderHandle
Description of the requested feature
We’d like to have a feature implemented in Slider or SliderHandle to provide a default-value
. If the user would then double click on the slider or the handle the value would reset to the provided default-value.
Mockups or screenshots
No response
Implementation notes or ideas
I tested also detecting a double click on the slider track. This might be possible to let the user even reset a slider when not double clicking on the slider handle. We need to consider resetting values also for keyboard-users. Maybe we can use Escape key when the handle has focus to reset to default value (if given).
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
reactjs - A component is changing the default value state of an ...
Nope, sliders are unique but not particularly special or different than other inputs. When using defaultValue and it changes then react warns ...
Read more >Where Should I Start? On Default Values for Slider Questions ...
For 101-point questions (e.g., feeling thermometers), when the slider default values are set to be 25, 50, 75, or 100, significantly more respondents...
Read more >Solved: Setting default values for knob and slider inputs?
Set the default value for the slide-type input (or the knob). Right click on the control. Select "Data Operations" > "Make Current Value...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I filed https://jira.corp.adobe.com/browse/SDS-12156
related to #586