From f091582e0359da213a02bc922909eea403b32781 Mon Sep 17 00:00:00 2001 From: zkwolf Date: Mon, 7 Jun 2021 14:17:13 +0800 Subject: [PATCH] fix: select dropdownMatchSelectWidth invalid #4118 (#4164) --- components/vc-virtual-list/List.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/vc-virtual-list/List.tsx b/components/vc-virtual-list/List.tsx index 65a732f1a..bc5940e0e 100644 --- a/components/vc-virtual-list/List.tsx +++ b/components/vc-virtual-list/List.tsx @@ -144,6 +144,7 @@ const List = defineComponent({ end: state.mergedData.length - 1, offset: undefined, }; + return; } // Always use virtual scroll bar in avoid shaking @@ -154,6 +155,7 @@ const List = defineComponent({ end: state.mergedData.length - 1, offset: undefined, }; + return; } let itemTop = 0;