Skip to content

Blank area when scrolling fast #618

@phantrungviet98

Description

@phantrungviet98

Current behavior

  • Display blank area when scrolling fast.
aa.webm

Expected behavior

  • No blank when scrolling fast

To Reproduce

Please try the code

const App: () => Node = () => {
  const [list, setList] = useState([])

  useEffect(() => {
     fetch('https://api.coinpaprika.com/v1/tickers').then(data => {
      data.json().then(jsonData => {
        setList(jsonData)
      })
    })
  }, [])

  return (
    <View style={{flex: 1}}>
      <FlashList estimatedItemSize={19.4} renderItem={({item, index}) => <Text>{item.name}</Text>} data={list} />
    </View>
  );
};

Platform:

  • iOS
  • Android

Environment

1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions