File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
maui/src/TabView/Control/HorizontalContent Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 44using UIKit ;
55using Syncfusion . Maui . Toolkit . Platform ;
66using Syncfusion . Maui . Toolkit . TextInputLayout ;
7+ using Microsoft . Maui . Graphics ;
78
89namespace Syncfusion . Maui . Toolkit . TabView
910{
@@ -75,6 +76,18 @@ void ITapGestureListener.ShouldHandleTap(object view)
7576 var touchLocation = uiTouch . LocationInView ( uiTouch . View ? . Superview ) ;
7677 var textInputView = FindSfTextInputLayout ( uiTouch . View ? . Superview ) ;
7778 this . _canProcessTouch = true ;
79+
80+ var touchViewType = touchView ? . GetType ( ) ;
81+ if ( touchViewType is not null )
82+ {
83+ var hasDrawAction = touchViewType . GetProperties ( ) . Any ( p => p . PropertyType == typeof ( Action < ICanvas , RectF > ) ) ;
84+ if ( hasDrawAction )
85+ {
86+ this . _canProcessTouch = false ;
87+ return ;
88+ }
89+ }
90+
7891 if ( textInputView != null )
7992 {
8093 if ( uiTouch . GestureRecognizers != null )
You can’t perform that action at this time.
0 commit comments