diff --git a/components/lib/slider/Slider.js b/components/lib/slider/Slider.js index 3f251c6e43..d4a4fcc19f 100644 --- a/components/lib/slider/Slider.js +++ b/components/lib/slider/Slider.js @@ -61,7 +61,9 @@ export const Slider = React.memo( if (dragging.current) { dragging.current = false; - props.onSlideEnd && props.onSlideEnd({ originalEvent: event, value: props.value }); + const newValue = setValue(event); + + props.onSlideEnd && props.onSlideEnd({ originalEvent: event, value: newValue }); unbindDocumentMouseMoveListener(); unbindDocumentMouseUpListener();