We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27ddd77 commit e29b9daCopy full SHA for e29b9da
src/components/List.tsx
@@ -75,7 +75,7 @@ function BaseList<T>(
75
});
76
77
// constants
78
- const isScrollHorizontal = (innerRef.current?.scrollWidth || 0) + 16 > innerWidth;
+ const isScrollHorizontal = (innerRef.current?.scrollWidth || 0) > innerWidth + 16;
79
const items = virtualizer.getVirtualItems();
80
const { fixedWidth, remainingCols } = widthConstants;
81
0 commit comments