xamarin/Xamarin.Forms

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

开放

#8,956 创建于 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

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南