This repository has been archived by the owner on May 1, 2024. It is now read-only.
The OnAppearing() issue with Navigation.PushAsync() #2716
Labels
e/5 🕔
5
help wanted
We welcome community contributions to any issue, but these might be a good place to start!
inactive
Issue is older than 6 months and needs to be retested
p/Android
t/bug 🐛
up-for-grabs
We welcome community contributions to any issue, but these might be a good place to start!
Description
In main page use a button call
Navigation.PushAsync(new Page1())
to openPage1
. TheOnAppearing()
inPage1
fired again immediately if I call theDevice.OpenUri(new Uri("https://github.com/"))
in theOnAppearing()
. But if I set a breakpoint or setTask.Delay(500)
before theDevice.OpenUri()
, secondOnAppearing()
will not fired until I get back from the browser. The similiar issue also happens when callNavigation.PushAsync()
in theOnAppearing()
.Steps to Reproduce
Expected Behavior
OnAppearing()
fired and open one tab in the browser.Actual Behavior
OnAppearing()
fired twice and open two tabs in the browser. If I set a breakpoint or setTask.Delay(500)
before theDevice.OpenUri();
, secondOnAppearing()
will not fired immediately .Basic Information
The text was updated successfully, but these errors were encountered: