xamarin/Xamarin.Forms

[Bug] Some views not visible when swiping back and forth through CarouselView containing a FlexLayout

Aberta

#8.956 aberto em 18 de dez. de 2019

 (1 comentário) (0 reação) (0 responsável)C# (1.926 forks)batch import
a/bindablelayouta/carouselviewa/flexe/5 :clock5:help wantedinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

I have a page with a CarouselView containing a FlexLayout DataTemplate. When I swipe through all the pages of the carousel view and then go back to the beginning, the views on the first and last page are no longer visible. Occurs on Android only.

Workaround

I found that if you nest the FlexLayout in a Grid the pages will stay visible.

Expected Behavior

When swiping back and forth through Carousel Views all views should reappear correctly.

Actual Behavior

Views do not reappear.

Basic Information

  • Version with issue: Xamarin.Forms 4.4.0
  • Platform Target Frameworks:
    • Android: 9.0

Reproduction Link

CarouselBugsRepro.zip

Guia do colaborador