From 4c7e93de26eb904c48bc128d92b7686c516b67f4 Mon Sep 17 00:00:00 2001 From: tj-devel709 Date: Fri, 12 Apr 2024 14:24:34 -0500 Subject: [PATCH] do not scroll if the view is in the navbar --- src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs b/src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs index fb5a8713a617..eb91ef75040f 100644 --- a/src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs +++ b/src/Core/src/Platform/iOS/KeyboardAutoManagerScroll.cs @@ -319,6 +319,12 @@ internal static void AdjustPosition() if (View.FindResponder() is UINavigationController navigationController) { + if (View.IsDescendantOfView(navigationController.NavigationBar)) + { + IsKeyboardAutoScrollHandling = false; + return; + } + navigationBarAreaHeight = navigationController.NavigationBar.Frame.GetMaxY(); } else