❔ UWP NavigationCacheMode enable cause app to crash
Our team is currently developing a Proof of Concept (PoC) application that requires the use of
Link repository: https://github.com/Strypper/Petaverse
Branch:
Page that crash:
Steps to reproduce
bash
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet.StartAsync(UIElement element)
at Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet.<Start>d__16.MoveNext()
at System.Threading.WinRTSynchronizationContextBase.Invoker.InvokeCore()
```
NavigationCacheMode.Enabled. This is to maintain the scroll position of the list from the previous page and for connected animation purposes. However, we are encountering an issue where the application crashes upon navigation, returning the following exception message:Link repository: https://github.com/Strypper/Petaverse
Branch:
masterPage that crash:
FosterCenterPage.xamlSteps to reproduce
- Navigate to any of the
FosterCenterin theHomepage - Inside foster center page select a member
- When successfully navigated to the member page please press the back button to navigate back to the foster center page
- Application navigate back to foster page and then crash with the below Exception and stack trace
Exception
```bash
One or more errors occurred. (The object has been closed.
bash
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet.StartAsync(UIElement element)
at Microsoft.Toolkit.Uwp.UI.Animations.AnimationSet.<Start>d__16.MoveNext()
at System.Threading.WinRTSynchronizationContextBase.Invoker.InvokeCore()
```
GitHub
A desktop app of Petaverse service, a social media for pet owners. - GitHub - Strypper/Petaverse: A desktop app of Petaverse service, a social media for pet owners.