Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat(Select): Improve virtualized list rendering accuracy
  • Loading branch information
dundun003 committed Jan 20, 2025
commit 453ee0b1c99595d524bc174095e3f26e6a27ff4f
2 changes: 1 addition & 1 deletion packages/semi-ui/select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ class Select extends BaseComponent<SelectProps, SelectState> {
<List
ref={this.virtualizeListRef}
height={height || numbers.LIST_HEIGHT}
itemCount={visibleOptions.length}
itemCount={content.length}
itemSize={itemSize}
width={width || '100%'}
style={{ direction }}
Expand Down
Loading