55
This commit is contained in:
parent
c5102a86d8
commit
bd48fef9c6
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ export default function App() {
|
||||||
const rowVirtualizer = useVirtualizer({
|
const rowVirtualizer = useVirtualizer({
|
||||||
count: data.length,
|
count: data.length,
|
||||||
getScrollElement: () => parentRef.current,
|
getScrollElement: () => parentRef.current,
|
||||||
estimateSize: () => 35, // Consistent row height
|
estimateSize: () => 55, // Consistent row height
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue