Skip to content

Fallback to the first foregroundInactive window when there are no foregroundActive windows in RCTKeyWindow - #44167

Closed
cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D56354741
Closed

Fallback to the first foregroundInactive window when there are no foregroundActive windows in RCTKeyWindow#44167
cipolleschi wants to merge 1 commit into
react:mainfrom
cipolleschi:export-D56354741

Conversation

@cipolleschi

Copy link
Copy Markdown
Contributor

Summary:
We received an issue for OSS where, when the main window is inactive and the system tries to present a dialog, the dialog is not presented in the right position on the screen.

This change introduce a fallback to the first inactive window (which is still visible on screen) and it fixes the issues.

Changelog:

[iOS][Changed] - Fallback to the first foregroundInactive window when there are no foregroundActive windows in RCTKeyWindow

Differential Revision: D56354741

@facebook-github-botfacebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Apr 19, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

…foregroundActive` windows in RCTKeyWindow (#44167)
Summary:
We received an issue for OSS where, when the main window is inactive and the system tries to present a dialog, the dialog is not presented in the right position on the screen.
This change introduce a fallback to the first inactive window (which is still visible on screen) and it fixes the issues.
## Changelog:
[iOS][Changed] - Fallback to the first `foregroundInactive` window when there are no `foregroundActive` windows in RCTKeyWindow
Differential Revision: D56354741
@cipolleschi
cipolleschiforce-pushed the export-D56354741 branch 2 times, most recently from 0091783 to 17da3ceCompareApril 19, 2024 14:26
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

1 similar comment
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-botfacebook-github-bot added the Merged This PR has been merged. label Apr 25, 2024
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 42ceacd.

@github-actions

Copy link
Copy Markdown

This pull request was successfully merged by @cipolleschi in 42ceacd.

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

cipolleschi added a commit that referenced this pull request May 1, 2024
…foregroundActive` windows in RCTKeyWindow (#44167)
Summary:
Pull Request resolved: #44167
We received an issue for OSS where, when the main window is inactive and the system tries to present a dialog, the dialog is not presented in the right position on the screen.
This change introduce a fallback to the first inactive window (which is still visible on screen) and it fixes the issues.
[iOS][Changed] - Fallback to the first `foregroundInactive` window when there are no `foregroundActive` windows in RCTKeyWindow
Reviewed By: dmytrorykun
Differential Revision: D56354741
fbshipit-source-id: fa23131ecd40f6d91c705879a72890506ee21486
kosmydel pushed a commit to kosmydel/react-native that referenced this pull request May 6, 2024
…foregroundActive` windows in RCTKeyWindow (react#44167)
Summary:
Pull Request resolved: react#44167
We received an issue for OSS where, when the main window is inactive and the system tries to present a dialog, the dialog is not presented in the right position on the screen.
This change introduce a fallback to the first inactive window (which is still visible on screen) and it fixes the issues.
## Changelog:
[iOS][Changed] - Fallback to the first `foregroundInactive` window when there are no `foregroundActive` windows in RCTKeyWindow
Reviewed By: dmytrorykun
Differential Revision: D56354741
fbshipit-source-id: fa23131ecd40f6d91c705879a72890506ee21486
kosmydel pushed a commit to kosmydel/react-native that referenced this pull request Jun 11, 2024
…foregroundActive` windows in RCTKeyWindow (react#44167)
Summary:
Pull Request resolved: react#44167
We received an issue for OSS where, when the main window is inactive and the system tries to present a dialog, the dialog is not presented in the right position on the screen.
This change introduce a fallback to the first inactive window (which is still visible on screen) and it fixes the issues.
## Changelog:
[iOS][Changed] - Fallback to the first `foregroundInactive` window when there are no `foregroundActive` windows in RCTKeyWindow
Reviewed By: dmytrorykun
Differential Revision: D56354741
fbshipit-source-id: fa23131ecd40f6d91c705879a72890506ee21486
This was referenced Jun 28, 2024
@cipolleschicipolleschi mentioned this pull request Jul 22, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.p: FacebookPartner: FacebookPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@cipolleschi@facebook-github-bot