Skip to content

Conversation

@cipolleschi
Copy link
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-bot facebook-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
Contributor

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

…foregroundActive` windows in RCTKeyWindow (facebook#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 added a commit to cipolleschi/react-native that referenced this pull request Apr 19, 2024
…foregroundActive` windows in RCTKeyWindow (facebook#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 cipolleschi force-pushed the export-D56354741 branch 2 times, most recently from 0091783 to 17da3ce Compare April 19, 2024 14:26
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

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

This pull request has been merged in 42ceacd.

@github-actions
Copy link

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 (facebook#44167)

Summary:
Pull Request resolved: facebook#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 (facebook#44167)

Summary:
Pull Request resolved: facebook#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
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.

2 participants