Skip to content

CollectionView visual state not updating selected [Windows] #10595

Closed
@mike3sullivan

Description

@mike3sullivan

Description

On Windows, the CollectionView VisualState (Selected) tracks with items clicked in the UI, but not when the SelectedItem is change in code.

MauiCollectionViewVisualState

Steps to Reproduce

In the repo, clicking on items in the list makes them turn sky blue as desired. Click the button to set SelectedItem to BBBB -- the previous item is still sky blue and BBBB is a light gray (label update shows that the SeletedItem value has changed.

Link to public reproduction project repository

https://github.com/mike3sullivan/MauiCollectionViewVisualState

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 10

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/windowss/triagedIssue has been revieweds/try-latest-versionPlease try to reproduce the potential issue on the latest public versions/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions