Slider: The event.value within the onSlideEnd method does not reflect the updated value. #4752
Labels
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
Milestone
Describe the bug
When utilizing the Slider component along with the onSlideEnd event, it's observed that the event.value does not represent the updated value. Instead, it retains the previous value.
Reproducer
https://codesandbox.io/s/primereact-slider-new-value-bug-sv3gwp
PrimeReact version
9.6.0
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Firefox
Steps to reproduce the behavior
Expected behavior
Once the Slider modifications are completed and the Slider is released or loses focus, the NewVal state should be equal to the value state.
The text was updated successfully, but these errors were encountered: