fix(slider): fix the problem that the slider button does not work properly in two-thumb mode (#11526)

This commit is contained in:
zhbhun
2023-02-02 23:20:54 +08:00
committed by GitHub
parent 311faaa0e7
commit 8706f31e8a

View File

@@ -323,7 +323,7 @@ export default defineComponent({
// useEventListener will set passive to `false` to eliminate the warning of Chrome
useEventListener('touchmove', onTouchMove, {
target: slider,
target: root,
});
return () => (