File tree Expand file tree Collapse file tree 4 files changed +49
-2
lines changed Expand file tree Collapse file tree 4 files changed +49
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish to npm
2
+
3
+ on :
4
+ release :
5
+ types :
6
+ - created
7
+
8
+ jobs :
9
+ publish :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout repository
14
+ uses : actions/checkout@v4
15
+
16
+ - name : Set up Node.js
17
+ uses : actions/setup-node@v4
18
+ with :
19
+ node-version : " 20.x"
20
+
21
+ - name : Install yarn
22
+ run : npm install -g yarn
23
+
24
+ - name : Check cache for packages already installed
25
+ uses : actions/cache@v3
26
+ with :
27
+ path : " **/node_modules"
28
+ key : yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
29
+
30
+ - name : Install dependencies
31
+ run : yarn install
32
+
33
+ - name : Build package
34
+ run : yarn build
35
+
36
+ - name : Publish to npm
37
+ run : npm publish
38
+ env :
39
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## 1.2.5
4
+
5
+ _ 2025-03-31_
6
+
7
+ ### Bugix
8
+
9
+ - on window resize, added padding to help with scroll flicker
10
+
3
11
## 1.2.4
4
12
5
13
_ 2025-03-19_
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-fluid-table" ,
3
- "version" : " 1.2.4 " ,
3
+ "version" : " 1.2.5 " ,
4
4
"description" : " A React table inspired by @tanstack/react-virtual" ,
5
5
"author" : " Mckervin Ceme <mckervinc@live.com>" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function BaseList<T>(
75
75
} ) ;
76
76
77
77
// constants
78
- const isScrollHorizontal = ( innerRef . current ?. scrollWidth || 0 ) > innerWidth ;
78
+ const isScrollHorizontal = ( innerRef . current ?. scrollWidth || 0 ) + 16 > innerWidth ;
79
79
const items = virtualizer . getVirtualItems ( ) ;
80
80
const { fixedWidth, remainingCols } = widthConstants ;
81
81
You can’t perform that action at this time.
0 commit comments