kirillzyusko / react-native-keyboard-controller

Keyboard manager which works in identical way on both iOS and Android
https://kirillzyusko.github.io/react-native-keyboard-controller/
MIT License
1.4k stars 55 forks source link

KeyboardAwareScrollView not work with text input in nested ScrollView #442

Closed kiethuynh0904 closed 2 months ago

kiethuynh0904 commented 2 months ago

Thank you for creating an awesome library. However, I have a specific case and was wondering if you could take a look and help me out? Describe the bug The KeyboardAwareScrollView does not work with nested ScrollView, Is there any specific way I can make it work?

The code looks like Nested Scrollview (1)

kirillzyusko commented 2 months ago

Hello @kiethuynh0904

Can you check if https://github.com/kirillzyusko/react-native-keyboard-controller/pull/443 fixes the problem?

kiethuynh0904 commented 2 months ago

Hi @kirillzyusko thanks for the quick reply. It works like a charm!

kirillzyusko commented 2 months ago

@kiethuynh0904 awesome! I'll merge it to main and will publish under 1.12.1 tag (though I don't have an exact dates when I publish a new release). In a meantime you can patch it using patch-package 👀