Skip to content

Commit f091582

Browse files
authored
fix: select dropdownMatchSelectWidth invalid #4118 (#4164)
1 parent 4fdcc90 commit f091582

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/vc-virtual-list/List.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ const List = defineComponent({
144144
end: state.mergedData.length - 1,
145145
offset: undefined,
146146
};
147+
return;
147148
}
148149

149150
// Always use virtual scroll bar in avoid shaking
@@ -154,6 +155,7 @@ const List = defineComponent({
154155
end: state.mergedData.length - 1,
155156
offset: undefined,
156157
};
158+
return;
157159
}
158160

159161
let itemTop = 0;

0 commit comments

Comments
 (0)