APSL / react-native-keyboard-aware-scroll-view

A ScrollView component that handles keyboard appearance and automatically scrolls to focused TextInput.
MIT License
5.24k stars 643 forks source link

Keyboard Push View #535

Closed filippobarcellos closed 2 years ago

filippobarcellos commented 2 years ago

Hi. First of all thank you for the lib, it's really awesome. I'm having some problems trying to make the bottom sheet to respond based on the size of the content. My bottom sheet needs to have a fixed input on the bottom and 2 positions - 50% and 90%. On 50% the bottom sheet needs to be pushed when the keyboard appears and on 90% the content of my flat list needs to be pushed up. Is possible to achieve this?

Untitled-2022-04-23-0039

Steps To Achieve

  1. On 50% - bottom sheet needs to be pushed up until the max size(90%)
  2. on 90% - the flat list inside needs to be pushed up
phamtien1709 commented 2 years ago

@filippobarcellos sorry to bother. Have you found a solution yet?

filippobarcellos commented 2 years ago

I haven't. I ended up using another library. If you want I could share a gist.

phamtien1709 commented 1 year ago

@filippobarcellos Could you please give me a hint on changing your library to achieve it? 👯

Yiin commented 1 year ago

I haven't. I ended up using another library. If you want I could share a gist.

What library did you ended up using?