Increase virtuoso grid viewport
This commit is contained in:
@@ -185,7 +185,7 @@ const VerticalGrid = forwardRef(
|
|||||||
<Box ref={ref}>
|
<Box ref={ref}>
|
||||||
<VirtuosoGrid
|
<VirtuosoGrid
|
||||||
useWindowScroll
|
useWindowScroll
|
||||||
overscan={window.innerHeight * 0.25}
|
increaseViewportBy={window.innerHeight * 0.5}
|
||||||
totalCount={mangas.length}
|
totalCount={mangas.length}
|
||||||
components={{
|
components={{
|
||||||
List: GridContainer,
|
List: GridContainer,
|
||||||
|
|||||||
Reference in New Issue
Block a user