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

Wait for root page to load before processing modal #15037

Merged
merged 2 commits into from May 18, 2023

Conversation

PureWeen
Copy link
Member

Description of Change

While testing #15020 I found a bug that's causing a crash when you try to swap out the root page when a modal page is currently open on android.

With the old gallery a lot of the tests have to swap out the mainpage in order to run in an isolated context.

The code change in this PR fixes android so that it waits to process the modal pages until the root page has been loaded. There was a timing issue where the modal page was being removed before the root page was loaded in which would cause an NRE.

@PureWeen PureWeen force-pushed the fix_swapping_root_page_android branch from 214b36d to 6da8086 Compare May 11, 2023 17:42
@rmarinho rmarinho merged commit 210786b into main May 18, 2023
29 checks passed
@rmarinho rmarinho deleted the fix_swapping_root_page_android branch May 18, 2023 13:51
rmarinho pushed a commit that referenced this pull request May 30, 2023
* Wait for root page to load before processing modal

* Update ModalTests.iOS.cs
@github-actions github-actions bot locked and limited conversation to collaborators Dec 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants