The keyboard in floating mode is having problem.
See original GitHub issueDescription
My app has been rejected by apple due to interface issues.
After half a day I queried the problem, I finally realized the problem was at the floating keyboard
of iPadOS 13.
When the keyboard went into floating mode, KeyboardAvoidingView worked incorrectly and destroyed my interface structure.
React Native version:
System:
OS: macOS 10.15.3
CPU: (4) x64 Intel(R) Core(TM) i3-8100B CPU @ 3.60GHz
Memory: 400.56 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.5.0 - /usr/local/bin/node
npm: 6.14.5 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6514223
Xcode: 11.6/11E708 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-rename: 2.4.1
Expected Results
What I want now to be able to recognize a certain event is to notify the keyboard to switch to floating mode, from which I will handle my UI.
Snack, code example, screenshot, or link to a repository:
Screen capture when keyboard is in anchor mode.
Screen capture when the keyboard is in floating mode.
Code:
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to Fix a Floating Keyboard on an iPad - Lifewire
If you're still having trouble with your floating keyboard, or it's unresponsive, then try rebooting your iPad. Press the Sleep/Wake button ...
Read more >If your iPad keyboard is small or split in half - Apple Support
Floating keyboard, which is a smaller single keyboard that can move anywhere on the screen; Split keyboard, which divides the keyboard into ...
Read more >How to Disable the Floating Keyboard - Republic Wireless
Procedure · Open Gboard app · Tap on the G icon · Find option · Tap on Three Dots and under the options...
Read more >Floating keyboard with Special Character mode problem
So you are essentially forcing it to float by enabling it in an external app, then switching to publisher where the OS remembers...
Read more >Fix problems with Gboard - Android - Google Support
If you have issues or privacy concerns with Gboard, try these steps. ... If Gboard switches to another keyboard, you can switch it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
We experienced a similar problem, when a floating keyboard was dismissed the height calculation was off so we ended up with a blank screen (because everything was pushed off the screen).
When the floating keyboard is dismissed we get the following when calculating the relativeKeyboardHeight
We did a workaround to just disable the KeyboardAvoidingView when the keyboard was floating by checking if the keyboard width is the same as the screen width
Then in your component
Don’t know if the appropriate solution is to disable keyboard avoiding view when the keyboard is floating (as the user can move it wherever) or how to make the component avoid the keyboard when it’s moving around.
My problem was solved temporarily when I used the library:
react-native-keyboard-aware-scroll-view
. Hope to temporarily resolve for you who are experiencing similar errors and wait until the official patch.