mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
fix(slider): fix the problem that the slider button does not work properly in two-thumb mode (#11526)
This commit is contained in:
@@ -323,7 +323,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
// useEventListener will set passive to `false` to eliminate the warning of Chrome
|
// useEventListener will set passive to `false` to eliminate the warning of Chrome
|
||||||
useEventListener('touchmove', onTouchMove, {
|
useEventListener('touchmove', onTouchMove, {
|
||||||
target: slider,
|
target: root,
|
||||||
});
|
});
|
||||||
|
|
||||||
return () => (
|
return () => (
|
||||||
|
Reference in New Issue
Block a user