xamarin/Xamarin.Forms

[Bug] CollectionView doesn't always snap to start

オープン

#8,608 opened on 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

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged 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

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