Repository navigation
Conversation
|
Thanks for your contribution! We do have unit tests for Could you add one to validate the behavior and sequence? |
| null | ||
| ); | ||
|
|
||
| Navigated?.Invoke(this, navigationEvent); |
There was a problem hiding this comment.
Events most likely have to be moved before Content = CurrentEntry.Instance; above for x:Bind to done after navigatedto properly.
There was a problem hiding this comment.
Unfortunately, it must stay after setting the Content - in UWP Content is already set when Navigated is raised. It seems the Loading and Loaded events need to be initiated by the frame if the page is inside of it.
Frame navigating
Page constructor
Frame.Content == EventOrdering.MainPage
Frame navigated
Page navigated to
Page loading
Page loaded
There was a problem hiding this comment.
@jeromelaban I have created #2895 for it. It seems it will be a very complex issue.
de41b08 to
868f7d7
Compare
| Assert.IsNull(myPage2.Frame); | ||
| } | ||
|
|
||
| internal static NavigateOrderTracker _navigateOrderTracker = null; |
There was a problem hiding this comment.
|
|
|
Let's close this PR for now as it will be reworked by the Loaded/Unloaded work. |
…andler feat(HotReload): Add UIUpdate.ForceRefresh(Type[]) to re-apply types bypassing active pauses
GitHub Issue (If applicable): #1863
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Wrong order of navigation events.
What is the new behavior?
Correct order of navigation events.
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information
Internal Issue (If applicable):