xamarin/Xamarin.Forms

[Bug] CollectionView doesn't always snap to start

Aperta

#8608 aperta il 21 nov 2019

 (5 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/collectionviewe/4 :clock4:help wantedi/highinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor