From 8dc0a17aeac9d0466123ed64b972496c7480c908 Mon Sep 17 00:00:00 2001 From: Kishore Date: Mon, 6 Oct 2025 12:57:39 +0530 Subject: [PATCH 1/2] Resolved the DrawingView IOS issues in SfTabView. --- .../Control/HorizontalContent/SfHorizontalContent.iOS.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/maui/src/TabView/Control/HorizontalContent/SfHorizontalContent.iOS.cs b/maui/src/TabView/Control/HorizontalContent/SfHorizontalContent.iOS.cs index 268e76ba..2f09b302 100644 --- a/maui/src/TabView/Control/HorizontalContent/SfHorizontalContent.iOS.cs +++ b/maui/src/TabView/Control/HorizontalContent/SfHorizontalContent.iOS.cs @@ -75,6 +75,14 @@ void ITapGestureListener.ShouldHandleTap(object view) var touchLocation = uiTouch.LocationInView(uiTouch.View?.Superview); var textInputView = FindSfTextInputLayout(uiTouch.View?.Superview); this._canProcessTouch = true; + + var touchViewType = touchView?.GetType().FullName; + if (touchViewType != null && touchViewType.Contains("CommunityToolkit.Maui.Core.Views.MauiDrawingView", StringComparison.Ordinal)) + { + this._canProcessTouch = false; + return; + } + if (textInputView != null) { if (uiTouch.GestureRecognizers != null) From 756c28318d3bfa03619c1704c14bcc271125946b Mon Sep 17 00:00:00 2001 From: Kishore Date: Fri, 24 Oct 2025 11:28:08 +0530 Subject: [PATCH 2/2] updated the changes. --- .../HorizontalContent/SfHorizontalContent.iOS.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/maui/src/TabView/Control/HorizontalContent/SfHorizontalContent.iOS.cs b/maui/src/TabView/Control/HorizontalContent/SfHorizontalContent.iOS.cs index 2f09b302..5aa5cd90 100644 --- a/maui/src/TabView/Control/HorizontalContent/SfHorizontalContent.iOS.cs +++ b/maui/src/TabView/Control/HorizontalContent/SfHorizontalContent.iOS.cs @@ -76,12 +76,13 @@ void ITapGestureListener.ShouldHandleTap(object view) var textInputView = FindSfTextInputLayout(uiTouch.View?.Superview); this._canProcessTouch = true; - var touchViewType = touchView?.GetType().FullName; - if (touchViewType != null && touchViewType.Contains("CommunityToolkit.Maui.Core.Views.MauiDrawingView", StringComparison.Ordinal)) - { - this._canProcessTouch = false; - return; - } + const string MauiDrawingViewTypeName = "CommunityToolkit.Maui.Core.Views.MauiDrawingView"; + var touchViewType = touchView?.GetType().FullName; + if (touchViewType is not null && touchViewType.Contains(MauiDrawingViewTypeName, StringComparison.Ordinal)) + { + this._canProcessTouch = false; + return; + } if (textInputView != null) {