File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ function BaseList<T>(
5656) {
5757 // hooks
5858 const parentRef = useRef < HTMLDivElement | null > ( null ) ;
59- const { ref : innerRef , width : innerWidth = 0 } = useResizeDetector < HTMLDivElement > ( ) ;
59+ const { ref : innerRef , width : _innerWidth = 0 } = useResizeDetector < HTMLDivElement > ( ) ;
6060 const [ widthConstants , setWidthConstants ] = useState ( findColumnWidthConstants ( columns ) ) ;
6161 const [ pixelWidths , setPixelWidths ] = useState < number [ ] > ( ( ) => {
6262 const { fixedWidth, remainingCols } = widthConstants ;
@@ -75,7 +75,7 @@ function BaseList<T>(
7575 } ) ;
7676
7777 // constants
78- const isScrollHorizontal = ( innerRef . current ?. scrollWidth || 0 ) > innerWidth + 16 ;
78+ const isScrollHorizontal = false ;
7979 const items = virtualizer . getVirtualItems ( ) ;
8080 const { fixedWidth, remainingCols } = widthConstants ;
8181
You can’t perform that action at this time.
0 commit comments