Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Modal content being cut off when Activity is edge-to-edge #47339

Closed
wants to merge 1 commit into from

Conversation

alanleedev
Copy link
Contributor

Summary:
Fixing issue raised in #47307

This is a follow up from D62286026.
It appears there was a line that went missing while trying to refactor the code.

fitsSystemWindows = true is needeod for < API 30 to avoid content rendering under the system bars when Modal is shown with Activity that is edge-to-edge.

Differential Revision: D65280014

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 31, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65280014

@alanleedev
Copy link
Contributor Author

Testing with ReproducerApp

API29

API34

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65280014

…facebook#47339)

Summary:

Fixing issue raised in facebook#47307

This is a follow up from D62286026.
It appears there was a line that went missing while trying to refactor the code.

`fitsSystemWindows = true` is needeod for < API 30 to avoid content rendering under the system bars when Modal is shown with Activity that is edge-to-edge.

Changelog:
[Android][Fixed] Fix Regression - Modal content rendering below system bar on < API 30 when activity is edge-to-edge

Reviewed By: cortinico

Differential Revision: D65280014
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65280014

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 1, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 2cd48ef.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @alanleedev in 2cd48ef

When will my fix make it into a release? | How to file a pick request?

blakef pushed a commit that referenced this pull request Nov 12, 2024
…#47339)

Summary:
Pull Request resolved: #47339

Fixing issue raised in #47307

This is a follow up from D62286026.
It appears there was a line that went missing while trying to refactor the code.

`fitsSystemWindows = true` is needeod for < API 30 to avoid content rendering under the system bars when Modal is shown with Activity that is edge-to-edge.

Changelog:
[Android][Fixed] Fix Regression - Modal content rendering below system bar on < API 30 when activity is edge-to-edge

Reviewed By: cortinico

Differential Revision: D65280014

fbshipit-source-id: 616ff739be55635f1295ef3bf8b997a27ef769ae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants