Open ghost opened 3 years ago
I think this is a touch effect issue, not a problem with the flyout - waiting for confirmation on https://github.com/xamarin/XamarinCommunityToolkit/issues/707.
I believe adding a TapGestureRecongizer in grid might help with this case, it's just that I don't know which command to bind to.
Has anyone found a workaround? Is it even possible to implement any touch effects on flyouts?
Description
Hi, I would like to ask if it is possible to apply the ripple effect to Shell FlyoutItem. The ripple effect works, but the menu item does not work, you cannot change the page. Without ripple effect, the transition to the page works. Advise if I'm making a mistake somewhere. I will be happy for any advice.
Steps to Reproduce
<FlyoutItem Title="Item 1"> <Shell.ItemTemplate> <DataTemplate> <ContentView> <Grid HeightRequest="50" xct:TouchEffect.NativeAnimation="True" xct:TouchEffect.NativeAnimationColor="Red"> </Grid> </ContentView> </DataTemplate> </Shell.ItemTemplate> <ShellContent Route="HomePage" ContentTemplate="{DataTemplate local:HomePage}" /> </FlyoutItem>
Expected Behavior
Ripple effect and go to the selection page from the shell menu.
Actual Behavior
The ripple effect works, switching to another page does not work when selecting from the menu.
Platforms
Basic Information
Workaround
Reproduction imagery
Reproduction Link