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.
2 parents f59e418 + 4a09de1 commit 25132cdCopy full SHA for 25132cd
.gitignore
@@ -4,6 +4,9 @@
4
# dependencies
5
node_modules
6
7
+# publish
8
+.npmrc
9
+
10
# builds
11
build
12
dist
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-fluid-table",
3
- "version": "1.2.5",
+ "version": "1.2.6",
"description": "A React table inspired by @tanstack/react-virtual",
"author": "Mckervin Ceme <mckervinc@live.com>",
"license": "MIT",
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