diff --git a/packages/vant/src/dropdown-menu/DropdownMenu.tsx b/packages/vant/src/dropdown-menu/DropdownMenu.tsx
index 8c3ac70a6..f9b07f9f6 100644
--- a/packages/vant/src/dropdown-menu/DropdownMenu.tsx
+++ b/packages/vant/src/dropdown-menu/DropdownMenu.tsx
@@ -145,7 +145,10 @@ export default defineComponent({
linkChildren({ id, props, offset });
useClickAway(root, onClickAway);
- useEventListener('scroll', onScroll, { target: scrollParent });
+ useEventListener('scroll', onScroll, {
+ target: scrollParent,
+ passive: true,
+ });
return () => (
diff --git a/packages/vant/src/index-bar/IndexBar.tsx b/packages/vant/src/index-bar/IndexBar.tsx
index b2cc1ed8f..f8cd7bbfe 100644
--- a/packages/vant/src/index-bar/IndexBar.tsx
+++ b/packages/vant/src/index-bar/IndexBar.tsx
@@ -182,7 +182,10 @@ export default defineComponent({
nextTick(onScroll);
};
- useEventListener('scroll', onScroll, { target: scrollParent });
+ useEventListener('scroll', onScroll, {
+ target: scrollParent,
+ passive: true,
+ });
onMounted(init);
diff --git a/packages/vant/src/list/List.tsx b/packages/vant/src/list/List.tsx
index f9fabc94e..1d69fde44 100644
--- a/packages/vant/src/list/List.tsx
+++ b/packages/vant/src/list/List.tsx
@@ -166,7 +166,10 @@ export default defineComponent({
useExpose({ check });
- useEventListener('scroll', check, { target: scrollParent });
+ useEventListener('scroll', check, {
+ target: scrollParent,
+ passive: true,
+ });
return () => {
const Content = slots.default?.();
diff --git a/packages/vant/src/sticky/Sticky.tsx b/packages/vant/src/sticky/Sticky.tsx
index 73901d285..609c55a0a 100644
--- a/packages/vant/src/sticky/Sticky.tsx
+++ b/packages/vant/src/sticky/Sticky.tsx
@@ -140,7 +140,10 @@ export default defineComponent({
(value) => emit('change', value)
);
- useEventListener('scroll', onScroll, { target: scrollParent });
+ useEventListener('scroll', onScroll, {
+ target: scrollParent,
+ passive: true,
+ });
useVisibilityChange(root, onScroll);
return () => (
diff --git a/packages/vant/src/tabs/Tabs.tsx b/packages/vant/src/tabs/Tabs.tsx
index 679ae9ec0..ab0bd770b 100644
--- a/packages/vant/src/tabs/Tabs.tsx
+++ b/packages/vant/src/tabs/Tabs.tsx
@@ -485,7 +485,10 @@ export default defineComponent({
onActivated(setLine);
onPopupReopen(setLine);
onMountedOrActivated(init);
- useEventListener('scroll', onScroll, { target: scroller });
+ useEventListener('scroll', onScroll, {
+ target: scroller,
+ passive: true,
+ });
linkChildren({
id,