ant-design-vue
ant-design-vue copied to clipboard
fix[slider]: prevent triggering blur when focus shifts from slider handle to slider container
trafficstars
Changes: Modified the onBlur handler in createSlider.js to check if the focus is shifting from the slider handle to the slider container. If the e.relatedTarget equals the slider container (this.sliderRef), the blur event is prevented from propagating, thereby avoiding an unintended termination of the drag operation.
https://github.com/user-attachments/assets/8868bbee-8075-4281-8077-ffaa01faa48a