File tree 3 files changed +19
-3
lines changed
3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## 1.2.7
4
+
5
+ _ 2025-03-31_
6
+
7
+ ### Bugix
8
+
9
+ - isHorizontalScroll is always false for now
10
+
11
+ ## 1.2.6
12
+
13
+ _ 2025-03-31_
14
+
15
+ ### Bugix
16
+
17
+ - move heuristic
18
+
3
19
## 1.2.5
4
20
5
21
_ 2025-03-31_
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-fluid-table" ,
3
- "version" : " 1.2.6 " ,
3
+ "version" : " 1.2.7 " ,
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 @@ -56,7 +56,7 @@ function BaseList<T>(
56
56
) {
57
57
// hooks
58
58
const parentRef = useRef < HTMLDivElement | null > ( null ) ;
59
- const { ref : innerRef , width : innerWidth = 0 } = useResizeDetector < HTMLDivElement > ( ) ;
59
+ const { ref : innerRef , width : _innerWidth = 0 } = useResizeDetector < HTMLDivElement > ( ) ;
60
60
const [ widthConstants , setWidthConstants ] = useState ( findColumnWidthConstants ( columns ) ) ;
61
61
const [ pixelWidths , setPixelWidths ] = useState < number [ ] > ( ( ) => {
62
62
const { fixedWidth, remainingCols } = widthConstants ;
@@ -75,7 +75,7 @@ function BaseList<T>(
75
75
} ) ;
76
76
77
77
// constants
78
- const isScrollHorizontal = ( innerRef . current ?. scrollWidth || 0 ) > innerWidth + 16 ;
78
+ const isScrollHorizontal = false ;
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