You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Awesome library, and it enabled us to build a solid onboarding flow to our application very fast!
But one thing we wanted to do on one of the onboarding screens was to collect the users email address. Overriding the subtitle component via props worked very well here. Problem arised when the keyboard popped up and covered most of the screen, and of course the input component as well.
I forked the repo and made a quick fix using a library called react-native-keyboard-aware-scroll-view. I wrapped the Page component with the KeyboardAwareScrollView and everything works well, at least for our purposes.
I think that this feature could help a lot of other devs as well.
My way of fixing the problem is only one way. One other way for implementing this would be to enable overriding the whole Page component for even more flexibility, but then the users might lose some of the out-of-the-box features like animating the background colors.
@jfilter do you see this as a feature that could be implemented in the library? I am happy to help thinking through the implementation, or even making a proper pull request after agreeing upon the implementation details :)
The text was updated successfully, but these errors were encountered:
@rennehir Just ran into this problem myself. Do you by chance know how I could fix it without forking the library? I like to avoid forking libraries as much as I can so I can easily get updates in the future.
We haven't been updating it for over a year, and actually a while ago stopped using the whole library. We implemented our onboarding using react-native-tab-view. Feel free to use our fork or take a look how we solved the problem and make your own.
Awesome library, and it enabled us to build a solid onboarding flow to our application very fast!
But one thing we wanted to do on one of the onboarding screens was to collect the users email address. Overriding the subtitle component via props worked very well here. Problem arised when the keyboard popped up and covered most of the screen, and of course the input component as well.
I forked the repo and made a quick fix using a library called react-native-keyboard-aware-scroll-view. I wrapped the
Page
component with theKeyboardAwareScrollView
and everything works well, at least for our purposes.I think that this feature could help a lot of other devs as well.
My way of fixing the problem is only one way. One other way for implementing this would be to enable overriding the whole
Page
component for even more flexibility, but then the users might lose some of the out-of-the-box features like animating the background colors.@jfilter do you see this as a feature that could be implemented in the library? I am happy to help thinking through the implementation, or even making a proper pull request after agreeing upon the implementation details :)
The text was updated successfully, but these errors were encountered: