Home > Net >  FlatList not scrolling on Android - React Native
FlatList not scrolling on Android - React Native

Time:05-23

I have a Flatlist that scrolls fine on iOS but not on Android, with Android it will not scroll at all which means a user cannot access any data if it fills past the screen height

I have created a Snack https://snack.expo.dev/@richlewis14/full-screen-flatlist which will show the issue Im facing

Im also interested in knowing why this works on iOS but not Android

Any suggestions welcomed

CodePudding user response:

I modified your Snack. It was missing flex: 1 on the component view and also replaced <Box /> with native <SafeAreaView /> component. I put different background color (orange and yellow) to show what I modified.

https://snack.expo.dev/GhDjDDJ1Z

Hope that helps!

  • Related