xamarin/Xamarin.Forms

[Bug] CollectionView doesn't always snap to start

开放

#8,608 创建于 2019年11月21日

 (5 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/collectionviewe/4 :clock4:help wantedi/highinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Description

I have a CollectionView with horizontal linear layout that should snap to the start of the item. This works much of the time, but it's very easy to land on an item that is cut and doesn't snap.

Steps to Reproduce

  1. Run the app
  2. Go to the Book a Flight
  3. Scroll the boxes at the top horizontally until you get an item that doesn't snap

Expected Behavior

Actual Behavior

Basic Information

  • Version with issue: 4.4.0-pre2
  • Platform Target Frameworks:
    • Android: 10.0

Screenshots

image

Reproduction Link

https://github.com/davidortinau/FlyMe/blob/bug/cv_snap/FlyMe/FlyMe/Views/BookingPage.xaml#L30

贡献者指南