Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Items are stuck to the CollectionView when there is ItemSpacing #8422

Open
hprez21 opened this issue Jun 29, 2022 · 4 comments
Open

Items are stuck to the CollectionView when there is ItemSpacing #8422

hprez21 opened this issue Jun 29, 2022 · 4 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@hprez21
Copy link

hprez21 commented Jun 29, 2022

Description

The items are stuck to the sides of the CollectionView, preventing to see the other items when there is an assignment to ItemSpacing.

Steps to Reproduce

1.- Create a new .NET MAUI project.
2.- Remove the default code.
3.- In the xaml file:

<CollectionView>
        <CollectionView.ItemsLayout>
            <LinearItemsLayout ItemSpacing="50" Orientation="Horizontal" />
        </CollectionView.ItemsLayout>
        <CollectionView.ItemsSource>
            <x:Array Type="{x:Type x:String}">
                <x:String>mono</x:String>
                <x:String>monodroid</x:String>
                <x:String>monotouch</x:String>
                <x:String>monorail</x:String>
                <x:String>monodevelop</x:String>
                <x:String>monotone</x:String>
                <x:String>monopoly</x:String>
                <x:String>monomodal</x:String>
                <x:String>mononucleosis</x:String>
            </x:Array>
        </CollectionView.ItemsSource>
        <CollectionView.ItemTemplate>
            <DataTemplate>
                <Frame Margin="5">
                    <Label Text="{Binding .}" />
                </Frame>
            </DataTemplate>
        </CollectionView.ItemTemplate>
    </CollectionView>

Scroll the collection to the right, and view the problem..
wDN7mJrXEV

Version with bug

6.0.400 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 10

Did you find any workaround?

No.

Relevant log output

No response

@hprez21 hprez21 added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Jun 29, 2022
@Eilon Eilon added the area-controls-collectionview CollectionView, CarouselView, IndicatorView label Jun 29, 2022
@rachelkang rachelkang added platform/android 🤖 and removed s/needs-verification Indicates that this issue needs initial verification before further triage will happen labels Jun 29, 2022
@kristinx0211 kristinx0211 added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jun 30, 2022
@kristinx0211
Copy link

can see this issue on android 11, seems on android 12, it works fine.

@rachelkang rachelkang added this to the 6.0-servicing milestone Jun 30, 2022
@AswinPG
Copy link

AswinPG commented Jun 30, 2022

@kristinx0211 There seems to be the same issue on android 12 too but it's not easily visible as in 11 because of the change in animation. In android 11 there is that ripple effect but on 12 instead of ripple, there is elastic effect. The scroll feels like it has reached the end but in reality it can be scrolled further... Please check :)

@Redth Redth modified the milestones: 6.0-servicing, Backlog Aug 30, 2022
@ghost
Copy link

ghost commented Aug 30, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Apr 5, 2023
@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 18, 2023
@XamlTest
Copy link
Collaborator

Verified this on Visual Studio Enterprise 17.7.0 Preview 1.0. Repro on Android 13.0 with below Project:

Maybe this is not easily visible, but it seems still reproduces.
scroll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants