xamarin/Xamarin.Forms

[Bug] CollectionView doesn't always snap to start

Aberta

#8.608 aberto em 21 de nov. de 2019

 (5 comentários) (0 reação) (0 responsável)C# (1.926 forks)batch import
a/collectionviewe/4 :clock4:help wantedi/highinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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

Guia do colaborador