File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
maui/src/TabView/Control/HorizontalContent Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,13 @@ void ITapGestureListener.ShouldHandleTap(object view)
7676 var textInputView = FindSfTextInputLayout ( uiTouch . View ? . Superview ) ;
7777 this . _canProcessTouch = true ;
7878
79- var touchViewType = touchView ? . GetType ( ) . FullName ;
80- if ( touchViewType != null && touchViewType . Contains ( "CommunityToolkit.Maui.Core.Views.MauiDrawingView" , StringComparison . Ordinal ) )
81- {
82- this . _canProcessTouch = false ;
83- return ;
84- }
79+ const string MauiDrawingViewTypeName = "CommunityToolkit.Maui.Core.Views.MauiDrawingView" ;
80+ var touchViewType = touchView ? . GetType ( ) . FullName ;
81+ if ( touchViewType is not null && touchViewType . Contains ( MauiDrawingViewTypeName , StringComparison . Ordinal ) )
82+ {
83+ this . _canProcessTouch = false ;
84+ return ;
85+ }
8586
8687 if ( textInputView != null )
8788 {
You can’t perform that action at this time.
0 commit comments