-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
I found a report about this issue from november but the ticket got closed and i couldn't comment under it. #11023 (comment)
The issue that happens is, that when I change the SelectionMode="Multiple" of a collectionview I'm only able to select a single item at a time, as if the SelectionMode would have been set to Single.
This issue only happens on macCatalyst. I ran the exact same program on iOs and was able to select multiple items.
Steps to Reproduce
- Create .NET MAUI App
- copy / paste this collectionview into your MainPage:
<CollectionView
SelectionMode="Multiple">
<CollectionView.ItemsSource>
<x:Array
Type="{x:Type x:String}">
<x:String>Apples</x:String>
<x:String>Banana</x:String>
<x:String>Cherry</x:String>
</x:Array>
</CollectionView.ItemsSource>
<CollectionView.ItemTemplate>
<DataTemplate>
<VerticalStackLayout>
<Label
Text="{Binding .}"/>
</VerticalStackLayout>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
- Run the project on MacCatalyst and try to select multiple items in the collectionview.
-> you will only be able to select one item at the time, but you are supposed to select multiple items. If you run the exact same code on iOs, Android or Windows, it will work as expacted
Link to public reproduction project repository
No response
Version with bug
7.0.96
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
akhanalcs, Axemasta, Dokug and torfluor
Metadata
Metadata
Assignees
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working