Skip to content

Commit

Permalink
Reduce the "scrollable fallback" leeway of VirtualizedList (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoontek authored Dec 19, 2024
1 parent 47b5d69 commit b3173f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lake/src/components/VirtualizedList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export const VirtualizedList = <T, ExtraInfo>({
element
.map(scrollView =>
scrollView.scrollWidth === scrollView.clientWidth ||
scrollView.clientWidth - (stickedToEndColumnsWidth + stickedToStartColumnsWidth) < 400
scrollView.clientWidth - (stickedToEndColumnsWidth + stickedToStartColumnsWidth) < 300
? "NoScroll"
: scrollView.scrollLeft <= 0
? "Start"
Expand Down

0 comments on commit b3173f1

Please sign in to comment.