-
Notifications
You must be signed in to change notification settings - Fork 329
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Perhaps the FlashList developers expect us to set a limit on scrolling at once, or is there something I don't know?
Current behavior
screenrecorder-2023-07-04-13-55-53-302.mp4
Expected behavior
Don't see blank space.
To Reproduce
import React from "react";
import { View, Text, StatusBar } from "react-native";
import { FlashList } from "@shopify/flash-list";
const DATA = [
{
title: "First Item",
},
{
title: "Second Item",
},
];
export default function MyList() {
for (let index = 0; index < 500; index++) {
DATA.push({
title: "First Item" + index,
})
}
return (
<FlashList
data={DATA}
renderItem={({ item }) => <Text>{item.title}</Text>}
estimatedItemSize={200}
/>
);
};
Platform:
- Android
Environment
"@shopify/flash-list": "^1.4.3"
Mujaddadi, huynhnhuthao24, rebeccatay92, aklevko, ammarfaris and 9 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working