mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(slider): fix the problem that the slider button does not work properly in two-thumb mode (#11526)
This commit is contained in:
parent
311faaa0e7
commit
8706f31e8a
@ -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 () => (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user