Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Is is possible on iPad OS to detect if the keyboard is in floating mode?

$
0
0

We're running into a specific bug on iOS/iPadOS which seems to be triggered when the iPad is showing the floating (iphone-like) keyboard on screen (instead of the anchored one)

Our issue is specific to React Native and the KeyboardAvoidingView component. When the component renders and the keyboard is floating, the KeyboardAvoidingView completely mis-calculated the height required for the keyboard and hides about 95% of the screen height instead.

The KeyboardAvoidingView itself doesn't seem to have a way to detect whether or not the floating keyboard is on.

Is there a particular API that can be tapped into to detect this keyboard mode so we can turn off the KeyboardAvoidingView for it?

The Keyboard events (keyboardWillShow, keyboardDidShow, etc) don't seem to return any specific clues.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>