fix: select dropdownMatchSelectWidth invalid #4118 (#4164)

pull/4171/head
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
1 changed files with 2 additions and 0 deletions

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;