react-native-safe-area-context icon indicating copy to clipboard operation
react-native-safe-area-context copied to clipboard

SafeAreaInsetsContext insets bottom with Android Keyboard

Open vikjovanov opened this issue 4 years ago • 1 comments

Hello,

I don't know if this is normal behaviour or a problem.

I use a safeAreaView to create a button that extends to the very bottom of the page even on phones like iPhone X or iPhone 11 and I take advantage of the inset bottom to simply create a padding in my button. However, on Android, when the keyboard opens, the bottom inset takes the size of the android keyboard, which breaks my design. I would like the bottom inset not to be modified by the keyboard, is it possible?

Should I proceed in a different way?

If I disable the inset bottom for android, will I still be able to be available on all android screens?

Thank you, vikjovanov

vikjovanov avatar Aug 25 '20 10:08 vikjovanov

Same Problem here. See #138

janweigel avatar Aug 31 '20 06:08 janweigel

Android has a bunch of xml configs for this stuff. I know it's not documented here (PRs would be really apprecianted) - but you do have to configure them

jacobp100 avatar Jan 19 '23 16:01 jacobp100