This commit is contained in:
Mackie 2026-06-08 08:41:28 +08:00
parent c5102a86d8
commit bd48fef9c6

View file

@ -10,7 +10,7 @@ export default function App() {
const rowVirtualizer = useVirtualizer({
count: data.length,
getScrollElement: () => parentRef.current,
estimateSize: () => 35, // Consistent row height
estimateSize: () => 55, // Consistent row height
});
return (