pull/8037/merge
Alexander Zakurnaev 2025-06-15 03:11:50 +00:00 committed by GitHub
commit d63341e075
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -166,6 +166,12 @@ export default function createSlider(Component) {
}
},
onBlur(e) {
// Prevent triggering blur when focus shifts from the slider handle to the slider container.
// This avoids ending the drag operation if the user clicks within the slider area.
if(this.sliderRef === e.relatedTarget) {
return;
}
if (!this.dragTrack) {
this.onEnd();
}