Scrolling issues with FlatList when rows are variable height

后端 未结 4 2068
时光说笑
时光说笑 2021-02-01 08:11

I\'m using a FlatList where each row can be of different height (and may contain a mix of both text and zero or more images from a remote server).

I cannot

4条回答
  •  面向向阳花
    2021-02-01 08:49

    Have you tried scrollToEnd?

    http://facebook.github.io/react-native/docs/flatlist.html#scrolltoend

    As the documentation states, it may be janky without getItemLayout but for me it does work without it

提交回复
热议问题