-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android nougat readjusts the view based on keyboard #46
Comments
use only for ios |
Really? It works on old android versions though! |
android does not need this!
2.set your TextInput view style |
Thanks @kimlet for the solution; Going to add a note to the README so future users don't have to deal with this. |
hi @kimlet . i was looking for keyboard push the content. but i couldent understand your solition sorry. where will i write your solition ( android:windowSoftInputMode="adjustResize" )... i made my app via crna by the way. thanks. |
Thank you for this extremely useful library.
But how do I know if the android version running needs the keyboardspace or not? |
we can close this |
@sibelius your answer "use only for ios" makes sense but how to detect the running version of android needs to run this as well? 🤔 |
android solves this itself just use this
on AndroidManifest |
AndroidManifest fix works in general for Android, but not when you have a WebView with inputs. Then the KeyboardSpacer can be used, but I'm finding that whereas on some Android models it's necessary to use KeyboardSpacer to avoid the input being hidden behind the keyboard, on others using it can show extra white space above the keyboard. I've not tied down why there's a difference yet. |
THe library works perfectly find except on Android nougat. On android nugget when the keyboards opened then react native readjusts the view accordingly instead of having the view blocked by the keyboard.
So the library adds an additional keyboard space on top the keyboard as below:
Is there anyway to fix this?
The text was updated successfully, but these errors were encountered: