Skip to content

CollectionView - SelectedItem visual state manager not working #20062

@bcaceiro

Description

@bcaceiro

Description

Using a CollectionView, I am using the Visual State Manager, to change the Border and Background color of the Border (parent element), however, using Single mode, the only element updated is the first one, the remaining do not get selected or updated

The use case is to: given a collectionview ( grid more or single list), update the border color when the item is selected.
The problem happens with the latest SR release, and in Android and iOS platforms

Attached is a minimal repro issue as well as a video

BugCollectionView.zip

Video:

BugMauiCollectionView.mp4

Steps to Reproduce

1 - Open CollectionView Project
2 - Run in Android / iOS

Link to public reproduction project repository

https://github.com/bcaceiro/BugCollectionView2

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

No response

Did you find any workaround?

No workaround was found unfortunately

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/androids/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

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions