Skip to content

Commit 3e8385e

Browse files
🐛 Mobile | Fix tap passing through flyout (#1475)
* Fix tap issue * Revert "Fix tap issue" This reverts commit 6ded701. * Cleanup
1 parent 9a5e6a6 commit 3e8385e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/MobileUI/Features/Flyout/FlyoutFooter.xaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@
77
x:DataType="vm:FlyoutFooterViewModel"
88
Margin="0,0,0,5"
99
Padding="20,0"
10-
Spacing="10">
10+
Spacing="10"
11+
InputTransparent="False">
1112
<VerticalStackLayout.BindingContext>
1213
<resolver:ResolveViewModel x:TypeArguments="vm:FlyoutFooterViewModel"/>
1314
</VerticalStackLayout.BindingContext>
14-
15+
<VerticalStackLayout.GestureRecognizers>
16+
<!-- Consume tap events to prevent passthrough -->
17+
<TapGestureRecognizer />
18+
</VerticalStackLayout.GestureRecognizers>
1519
<VerticalStackLayout Spacing="10">
1620
<VerticalStackLayout.Triggers>
1721
<!-- Setting Opacity to hide here as using IsVisible can mess up the layout -->

0 commit comments

Comments
 (0)