[Slider] Thumb position doesn't update on external value change when controlled #1406
Labels
bug 🐛
Something doesn't work
component: slider
This is the name of the generic UI component, not the React module!
Bug report
Current behavior
Slider component, when used as controlled component does not update its value on state change outside of its self.
Here is example where state is changed on button click but slider still shows initial value even it is passed as value prop
Expected behavior
Slider should be updated, thumb should be moved to the new position according to new value of the state.
Reproducible example
Link to a CodeSandbox Example
Base UI version
1.0.0-alpha.5
Which browser are you using?
Chrome, Firefox
Which OS are you using?
Mac OS
The text was updated successfully, but these errors were encountered: