Skip to content

Wrap Modal component in a View element#173

Merged
Lipo11 merged 1 commit intobirdwingo:mainfrom
t-genc:patch-1
Sep 12, 2025
Merged

Wrap Modal component in a View element#173
Lipo11 merged 1 commit intobirdwingo:mainfrom
t-genc:patch-1

Conversation

@t-genc
Copy link
Copy Markdown
Contributor

@t-genc t-genc commented Sep 2, 2025

In newer React Native versions (0.77+), Modal on Android requires its content to be wrapped in a root to render correctly. Without this wrapper, the modal may:

  • Not block background touches
  • Fail to apply transparent background
  • Misalign content

This PR adds the missing wrapper.

In newer React Native versions (0.77+), Modal on Android requires its content to be wrapped in a root <View> to render correctly.
Without this wrapper, the modal may:

 - Not block background touches

 - Fail to apply transparent background

 - Misalign content

This PR adds the missing wrapper.
@Lipo11 Lipo11 merged commit 9d45c3a into birdwingo:main Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants