Skip to content
Discussion options

You must be logged in to vote

This is due to Expo SDK 53 enabling edge-to-edge display by default, which changes how safe areas and system insets (status bar, navigation bar, keyboard) are handled.
Solution might be to wrap your view in SafeAreaProvider and use useSafeAreaInsets
https://expo.dev/blog/edge-to-edge-display-now-streamlined-for-android
`
import { SafeAreaProvider, useSafeAreaInsets } from 'react-native-safe-area-context';
import { KeyboardAvoidingView, Platform, View } from 'react-native';

function MyScreen() {
const insets = useSafeAreaInsets();

return (
<KeyboardAvoidingView
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
style={{ flex: 1 }}
>
<View style={{
flex: 1,
paddingBottom: insets.bottom,

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by webwhizwand
Comment options

You must be logged in to vote
2 replies
@MrCordeiro
Comment options

@cbdeveloper
Comment options

Comment options

You must be logged in to vote
1 reply
@JoelDeonDsouza
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussions GitHub Discussions is a collaborative communication feature
7 participants