xamarin/Xamarin.Forms

[Bug] CollectionView doesn't always snap to start

Open

#8,608 opened on Nov 21, 2019

 (5 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
a/collectionviewe/4 :clock4:help wantedi/highinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide