[iOS] Navigation Bar Size Issue with codegenNativeComponent and modalPresentationStyle: .pageSheet in React Native #47600
Labels
Component: Modal
Needs: Triage 🔍
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
In a React Native environment, I'm using
codegenNativeComponent
to display a native screen. On this native screen, when I present a new screen withmodalPresentationStyle
set to.pageSheet
, the navigation bar size becomes abnormal. Although this might appear to be an issue with the native side because I’m using native screens, I don’t experience this problem when presenting a modal with .pageSheet without React Native.Steps to reproduce
React Native Version
0.76.1
Affected Platforms
Runtime - iOS
Areas
Other (please specify)
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/dp221125/RNPlayground
Screenshots and Videos
React Native
Simulator.Screen.Recording.-.iPhone.13.mini.-.2024-11-14.at.11.35.55.mp4
iOS Native (not using React Native)
Simulator.Screen.Recording.-.iPhone.13.mini.-.2024-11-14.at.11.34.42.mp4
ScreenShot
The text was updated successfully, but these errors were encountered: