You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a custom dialog with NavigationView and two pages
Open/close navigate between pages
wait 1-2 min
Open dialog
Navigate to the second page
ObjectDisposedException
Expected behavior
No ObjectDisposedException
Screenshots
NuGet package version
None
Windows version
No response
Additional context
System.ObjectDisposedException
HResult=0x80131622
Message=Cannot access a disposed object.
Object name: 'ObjectReference'.
Source=WinRT.Runtime
StackTrace:
at WinRT.IObjectReference.ThrowIfDisposed()
at ABI.Microsoft.UI.Xaml.Controls.IFrameMethods.Navigate(IObjectReference _obj, Type sourcePageType, Object parameter, NavigationTransitionInfo infoOverride)
at Client.Dialogs.AddDocumentDialog.Navigate(Type pageType, Object targetPageArguments) in DocumentDialog.xaml.cs:line 37
at Client.Dialogs.AddDocumentDialog.<>c__DisplayClass4_0.<OnDocumentTypeSelected>b__0() in DocumentDialog.xaml.cs:line 55
at ABI.Microsoft.UI.Dispatching.DispatcherQueueHandler.Do_Abi_Invoke(IntPtr thisPtr)
The text was updated successfully, but these errors were encountered:
Describe the bug
The
frame
object has been disposed after opening/closing theContentDialog
several times.Steps to reproduce the bug
ObjectDisposedException
Expected behavior
No
ObjectDisposedException
Screenshots
NuGet package version
None
Windows version
No response
Additional context
The text was updated successfully, but these errors were encountered: