I also have the same problem, I'm using the React Native 0.76.0 version and react-native-safe-area-context version is 4.11.1
I removed the react-native-safe-area-context package and it works now.
It's related to the react-native-safe-area-context package. I hope they will fix it.