react-native-autocomplete-input icon indicating copy to clipboard operation
react-native-autocomplete-input copied to clipboard

scroll not working

Open sam9010 opened this issue 2 years ago • 2 comments

my sample code is: <View style={{flex:1}}><View style={{ flex: 0.6, width: '100%', zIndex: 10, }}><Autocomplete ...></View> <View style={{ flex: 0.4, zIndex: 1, }}><Button></Button></View></View>

when add second View (View style={{ flex: 0.4,...), scroll my Autocomplete not working why? when I remove second View is ok, Indead when put eleman bottom my Autocomplete my scroll not working

sam9010 avatar Dec 24 '22 10:12 sam9010

Add scrollEnabled={hide || query === ''} also you need to wrap your Autocomplete component with relative position view with height say e.g., 100 then the component beneath that should be give margin negative say -90 and this will work.

ravis-farooq avatar Jan 29 '23 19:01 ravis-farooq

Try this plugin https://www.npmjs.com/package/react-native-select-dropdown-search

vendeeshwaranc avatar May 10 '23 06:05 vendeeshwaranc