I applied react-native-keyboard-aware-scroll-view in app.js (which is base file for my app) to make it work throughout the application.
return (
<KeyboardAwareScrollView>
<AppInitialComponent />
<RouterBar />
</KeyboardAwareScrollView>
);
And my application contains several Modal windows with fields.
Package is working fine for the fields which are out side of the Modal windows , But not working for the fields which are inside the Modal windows.
Do I need to call react-native-keyboard-aware-scroll-view from some where else to make it work for Modal window fields as well?
Don't put in app.js if you have modals. Include it where needed. e.g.
<Modal>
<KeyboardAwareScrollView>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With