-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
KeyboardAvoidingView stop working if the keyboard type changes (iOS) #26293
Comments
Confirm the same in RN 0.60.5 |
I'm experiencing this too in RN 0.61.2 when switching between default keyboard and emoji keyboard on iOS |
Any fix to this problem?, I got this problem on android 10 and expo sdk 35 |
Any fix to this problem? |
Still happening in RN 0.61.5, when switching from default keyboard to emoji keyboard. I really would like a fix for this, it's been more than 6 months this has been reported :( |
This is not a solution to the actual bug here...however I have had success in using Native Base's Unfortunately, you need to add an entire UI library, but it does handle the keyboard switching issue (and actually adds a lot more functionality like dismissing the keyboard if you scroll down) |
@iKrushYou Did you just replace ScrollView with Container and Content, or did something special? I'm going to try later, thanks for the tip! |
@ArthurBugan so all I've been doing is solely replacing any instances of Actually, for that matter, I've been replacing all usages of But, again, |
It worked, thanks! @iKrushYou |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
I was able to fix this issue using react-native-keyboard-aware-scrollview module instead of using the whole NativeBase library. |
Seems to be better with |
I'm implementing the
KeyboardAvoidingView
inside of a modal that takes in user input as a string and also a currency value. This requires different keyboard types. It seems that when switching between the normal keyboard and the numeric keyboard, the view (and I'm using height to make sure the view is centered) stops adjusting the container based on the keyboard.https://snack.expo.io/SyqoJRYrB
The strange thing is: it works sometimes when on my actual device because I use Gboard but the numberpad comes from the apple keyboard. So it has to switch entirely. But the whole thing flashes and glitches out (not a very elegant animation)
The text was updated successfully, but these errors were encountered: