Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Apr 19, 2024
2 parents 7c4b510 + e15d955 commit f5c4fc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Slider.tsx
Expand Up @@ -338,6 +338,7 @@ const Slider = React.forwardRef<SliderRef, SliderProps<number | number[]>>((prop
onBeforeChange?.(getTriggerValue(cloneNextValues));
triggerChange(cloneNextValues);
if (e) {
(document.activeElement as HTMLElement)?.blur?.();
handlesRef.current.focus(valueIndex);
onStartDrag(e, valueIndex, cloneNextValues);
}
Expand Down

0 comments on commit f5c4fc8

Please sign in to comment.