diff --git a/packages/vant/src/tabs/Tabs.tsx b/packages/vant/src/tabs/Tabs.tsx index ba856238b..a232e0f94 100644 --- a/packages/vant/src/tabs/Tabs.tsx +++ b/packages/vant/src/tabs/Tabs.tsx @@ -424,7 +424,11 @@ export default defineComponent({ const resize = () => { setLine(); - nextTick(() => contentRef.value?.swipeRef.value?.resize()); + + nextTick(() => { + scrollIntoView(true); + contentRef.value?.swipeRef.value?.resize(); + }); }; watch(