From c3dd7d1da0462c4c2433f016f14a3ffe06d87917 Mon Sep 17 00:00:00 2001 From: Orla Date: Tue, 9 Jan 2024 11:30:51 -0500 Subject: [PATCH] Proper fix --- Client/Frontend/Browser/TabScrollController.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Client/Frontend/Browser/TabScrollController.swift b/Client/Frontend/Browser/TabScrollController.swift index 968683a312d4..62f7d6b4d5f9 100644 --- a/Client/Frontend/Browser/TabScrollController.swift +++ b/Client/Frontend/Browser/TabScrollController.swift @@ -307,7 +307,6 @@ private extension TabScrollingController { // If this function is used to fully animate the toolbar from hidden to shown, keep the page from scrolling by adjusting contentOffset, // Otherwise when the toolbar is hidden and a link navigated, showing the toolbar will scroll the page and // produce a ~50px page jumping effect in response to tap navigations. - contentOffsetBeforeAnimation = scrollView.contentOffset let isShownFromHidden = headerTopOffset == -topScrollHeight && headerOffset == 0 let animation: () -> Void = { @@ -324,7 +323,6 @@ private extension TabScrollingController { } if animated { - isAnimatingToolbar = true UIView.animate(withDuration: duration, delay: 0, options: .allowUserInteraction,