Comments: ** Comment from web user: wieser_software **
More Information:
I see this problem when navigating from a page with an exit transition.
If I'm very quick, I can navigate back to the page that's exiting before the exit transition completes.
I thought this was my error, so deferred enabling the navigation until after the new Page reported as loaded, however this is still the case.
As a result, my navigation goes like this seen from the Transition Frame when I navigate back from Page 2 to Page 1, then forward again to Page 2
OnNavigating:
e.uri.OriginalString=Page1,
(sender as NavigationService).CurrentSource=Page2
This calls FlipPreseneters, which on return has:
New.ContentPresenter=null, Old.ContentPresenter=Page2
ContentChanged is called: New=Page1, Old=Page2
***NOW NAVIGATE BACK***
OnNavigating:
e.uri.OriginalString=Page2
(sender as NavigationService).CurrentSource=Page1
This calls FlipPresenters, whichon return has:
New.ContentPresenter=Page2, Old.ContentPresenter=Page1
Next OnExitTransitionCompleted is called some time later
TransitionNewContent is called
ContentChanged is called: New=Page2,Old=Page1
the newTransition.Completed delegate fires
and CompleteTransition is called on Page2
Notice that CompleteTransition was not called on Page1, and that as a result, both content presenters are still alive.