From 781a6fd5744141024f240334362fa722c2d42234 Mon Sep 17 00:00:00 2001 From: Tony Li Date: Tue, 28 Jul 2026 20:37:31 +1200 Subject: [PATCH] Fix My Site navigation during modal presentation --- .../ViewRelated/Blog/My Site/MySiteViewController.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/WordPress/Classes/ViewRelated/Blog/My Site/MySiteViewController.swift b/WordPress/Classes/ViewRelated/Blog/My Site/MySiteViewController.swift index b45266a744e7..221e11fd983b 100644 --- a/WordPress/Classes/ViewRelated/Blog/My Site/MySiteViewController.swift +++ b/WordPress/Classes/ViewRelated/Blog/My Site/MySiteViewController.swift @@ -185,7 +185,10 @@ final class MySiteViewController: UIViewController, UIScrollViewDelegate, NoSite override func viewWillDisappear(_ animated: Bool) { super.viewWillDisappear(animated) - resetNavBarAppearance(animated: animated) + // Only reset for a push to avoid animating the My Site title behind a presented modal. + if navigationController?.topViewController !== self { + resetNavBarAppearance(animated: animated) + } createButtonCoordinator?.hideCreateButton() }