React-native-reanimated-bottom-sheet: Flatlist inside the BS isn't scrollable on android

Created on 6 May 2020  路  4Comments  路  Source: osdnk/react-native-reanimated-bottom-sheet

Not able to make both the BottomSheet and the Flatlist respond to scroll gesture on android

Most helpful comment

import flatlist from 'react-native-gesture-handler'

it worked for me :)

All 4 comments

import flatlist from 'react-native-gesture-handler'

it worked for me :)

@Xadinsx Worked just fine, Thanks!

@Xadinsx @praneeth-hiver hi there, I am having problem with not being able to scroll up all item in the list

renderContent = () => (
    <View
      style={{
        height: 600,
        backgroundColor: 'green',
        marginHorizontal: '5%',
        borderTopLeftRadius: 5,
        borderTopRightRadius: 5,
        padding: moderateScale(10),
      }}>
      <ScrollView>
        {arr.map((i: any) => {
          return (
            <View style={{height: 50, backgroundColor: 'yellow'}}>
              <Text>{i}</Text>
            </View>
          );
        })}
      </ScrollView>
    </View>
  );

what shall I do, I have been stuck on this for a while now

import flatlist from 'react-native-gesture-handler'

it worked for me :)

Thanks a lot!

Was this page helpful?
0 / 5 - 0 ratings