Skip to content

CollectionView snaps on scroll although snapping is disabled #18367

@Raffro

Description

@Raffro

Description

I am using Maui 7.0.92 on Android (Emulator and local device Galaxy S20FE)

My Viewlayout is the following:
ContentPage
RefreshView
Grid (no further definitions in grid)
CollectionView

The Collection looks like this. If you add some items you will see the items snap on scrolling, although snapping is disabled...

<CollectionView Margin="5"

                        SelectionMode="None">
          <CollectionView.ItemsLayout>
            <LinearItemsLayout Orientation="Vertical"
                               ItemSpacing="5"
                               SnapPointsType="None"
                               SnapPointsAlignment="Center" />
          </CollectionView.ItemsLayout>
          <CollectionView.ItemTemplate>
            <DataTemplate>
              <Border Padding="0"
                      HeightRequest="100"
                      StrokeThickness="1">
                <Border.StrokeShape>
                  <Rectangle RadiusX="30"
                             RadiusY="30" />
                </Border.StrokeShape>
                <Border.Shadow>
                  <Shadow Opacity="0.1" />
                </Border.Shadow>
              </Border>
            </DataTemplate>
          </CollectionView.ItemTemplate>
        </CollectionView>

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

7.0.92

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, iOs is not affected

Affected platform versions

Android emulator and local device (API 33)

Did you find any workaround?

no

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewmigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertplatform/androids/needs-attentionIssue has more information and needs another looks/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions