Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/Core/src/Platform/Windows/NavigationRootManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public virtual void Connect(UIElement? platformView)
// Clear out the toolbar that was set from the previous content
SetToolbar(null);

// We need to make sure to clear out the root view content
// We need to make sure to clear out the root view content
// before creating the new view.
// Otherwise the new view might try to act on the old content.
// It might have code in the handler that retrieves this class.
Expand Down Expand Up @@ -147,6 +147,10 @@ public virtual void Disconnect()

SetToolbar(null);

_rootView.SetTitleBar(null, null);

_rootView.AppWindowId = null;

if (_rootView.Content is RootNavigationView navView)
navView.Content = null;

Expand Down
Loading