fix: select dropdownMatchSelectWidth invalid #4118 (#4164)

This commit is contained in:
zkwolf 2021-06-07 14:17:13 +08:00 committed by GitHub
parent 4fdcc90c41
commit f091582e03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;