xamarin/Xamarin.Forms

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

オープン

#8,956 opened on 2019/12/18

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/bindablelayouta/carouselviewa/flexe/5 :clock5:help wantedinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド