Skip to content

Commit

Permalink
fix: select dropdownMatchSelectWidth invalid vueComponent#4118
Browse files Browse the repository at this point in the history
  • Loading branch information
zkwolf committed Jun 4, 2021
1 parent 4fdcc90 commit 046b7e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/vc-virtual-list/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ const List = defineComponent({
end: state.mergedData.length - 1,
offset: undefined,
};
return;
}

// Always use virtual scroll bar in avoid shaking
Expand All @@ -154,6 +155,7 @@ const List = defineComponent({
end: state.mergedData.length - 1,
offset: undefined,
};
return;
}

let itemTop = 0;
Expand Down

0 comments on commit 046b7e0

Please sign in to comment.