Skip to content

Commit a6520ff

Browse files
committed
TabHostView: fix problems with TapCommand on Android
1 parent bcc07df commit a6520ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tabs/Tabs/TabHostView.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ private void AddTapCommand(TabItem tabItem)
709709
return;
710710
}
711711

712-
if (DeviceInfo.Platform == DevicePlatform.WinUI)
712+
if (DeviceInfo.Platform == DevicePlatform.WinUI || DeviceInfo.Platform == DevicePlatform.Android)
713713
{
714714
tabItem.GestureRecognizers.Add(
715715
new TapGestureRecognizer { Command = TabItemTappedCommand, CommandParameter = tabItem });

0 commit comments

Comments
 (0)