Description
This is a reopen of #25282 which is still reproducible in the latest React native version.
Steps to reproduce
- Create a
ScrollView with contentInsetAdjustmentBehavior="automatic" and contentContainerStyle={{flexGrow: 1}}.
- Observe that the content container grows larger than the ScrollView's height, while the height is expected to match, because safe area insets would be accounted for.
See the Expo snack
React Native Version
0.75.3
Affected Platforms
Runtime - iOS
Output of npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/@louay/scrollview-layout-contentinset-issue
Screenshots and Videos
