AiForms.Effects icon indicating copy to clipboard operation
AiForms.Effects copied to clipboard

Shell flyout menu not selected item with ripple effect

Open ghost opened this issue 4 years ago • 1 comments

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. Advise if I'm making a mistake somewhere. I will be happy for any advice.

Steps to Reproduce

  1. Create a Shell project
  2. Create ItemTemplate in AppShell
  3. Add a ripple effect to the DataTemplate effects:Feedback.On="True" effects:Feedback.EffectColor="Red"

<FlyoutItem Title="Item 1"> <Shell.ItemTemplate> <DataTemplate> <ContentView> <Grid HeightRequest="50" effects:Feedback.On="True" effects:Feedback.EffectColor="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

  • [x] Android
  • [ ] iOS

Basic Information

  • AiForms.Effects 1.6.10
  • Xamarin.Forms 4.8.0.1821
  • Android Support Library Version:
  • Affected Devices:

Screenshots

ezgif com-gif-maker (1)

Reproduction Link

Workaround

ghost avatar Dec 29 '20 20:12 ghost

#https://github.com/xamarin/Xamarin.Forms/issues/13253#issue-776136472

ghost avatar Dec 30 '20 02:12 ghost