DEV Community

Discussion on: I've released over 100 apps in React Native since 2015, Ask Me Anything!

Collapse
 
hali241997 profile image
Hasnain Ali

Hello, I need some help. I'm trying to implement autocomplete text view in react native. I've narrowed it down to some easy ways. I'm using Input from react-native-elements for typing text and I've added a FlatList right below it and it only shows up when either I enter some text or click on an icon (that is added to the right of the input). I also had some elements below the input and I wanted then to not scroll down as soon as the flatlist loads. I accomplished it by positioning the flatlist to absolute and setting the left, right and top property. Moreover, I wanted to fix the height of the flatlist, which I did with the height property in the style prop of the flatlist. The only problem I'm facing here is the scrolling problem. I can't seem to scroll now in android. I still can scroll in iPhone, but not on android.

I can also give some sample code to it. Can you show me where I am going wrong?