jaing / react-native-places-input

MIT License
46 stars 18 forks source link

Overall positioning of list and impact from keyboard #21

Closed tylerthedeveloper closed 4 years ago

tylerthedeveloper commented 4 years ago

First of all, absolutely love this package, thank you so much.

Impact of Keyboard view:

Happy to look into a PR for these

tylerthedeveloper commented 4 years ago

With regard to first one, maybe my use case is special, but the goal is to programmatically scroll to adjust the size - playing around with the below

//onChangeText={() => scrollRef.current?.scrollToEnd()} onChangeText={() => scrollRef.current?.scrollTo({y: 2 * contentHeight, animated: true})}

jaing commented 4 years ago

If think it should be possible by overriding stylesList. Just position in absolute with bottom equal input height. let me know if that works