Skip to content

Commit 5b90560

Browse files
Abdkhan14Abdullah Khan
andauthored
feat(explore-sus-attrs): Bumping virtualization overscan to 10 (#95484)
- Each row is tall, at 200px. When a row is blank (happens with virtualization as it mounts and unmounts rows) it covers alot of the vertical real-estate. - Increasing over-scan helps mitigate blank rows when the user speed scrolls. Co-authored-by: Abdullah Khan <abdullahkhan@PG9Y57YDXQ.local>
1 parent 4a742f2 commit 5b90560

File tree

1 file changed

+1
-1
lines changed
  • static/app/views/explore/components/suspectTags

1 file changed

+1
-1
lines changed

static/app/views/explore/components/suspectTags/charts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function Charts({rankedAttributes, searchQuery}: Props) {
3131
count: rankedAttributes.length,
3232
getScrollElement: () => scrollContainerRef.current,
3333
estimateSize: () => 200,
34-
overscan: 5,
34+
overscan: 10,
3535
});
3636

3737
const virtualItems = virtualizer.getVirtualItems();

0 commit comments

Comments
 (0)