Skip to content

Commit

Permalink
[PR feedback] DRYing
Browse files Browse the repository at this point in the history
Co-authored-by: Tomasz Kajtoch <tomek@kajto.ch>
  • Loading branch information
cee-chen and tkajtoch authored Nov 29, 2023
1 parent cc72686 commit 6cef78b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,7 @@ export class EuiSelectableList<T> extends Component<

// Potentially force list rows to rerender on dynamic resize as well,
// but try to do it as lightly as possible
if (truncationProps) {
this.forceVirtualizedListRowRerender();
} else if (searchable && searchValue) {
if (truncationProps || (searchable && searchValue)) {
this.forceVirtualizedListRowRerender();
}
};
Expand Down

0 comments on commit 6cef78b

Please sign in to comment.