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

CollectionView visual state not updating selected [Windows] #10595

Open
mike3sullivan opened this issue Oct 10, 2022 · 7 comments
Open

CollectionView visual state not updating selected [Windows] #10595

mike3sullivan opened this issue Oct 10, 2022 · 7 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@mike3sullivan
Copy link

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

@mike3sullivan mike3sullivan added the t/bug Something isn't working label Oct 10, 2022
@jsuarezruiz jsuarezruiz added platform/windows 🪟 area-controls-collectionview CollectionView, CarouselView, IndicatorView labels Oct 11, 2022
@PureWeen PureWeen added this to the Backlog milestone Oct 11, 2022
@ghost
Copy link

ghost commented Oct 11, 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.

@sinsedrix
Copy link

I meet the same issue, has any one found a workaround for it?

@pierre01
Copy link

I have the same issue any fixes?

@Laurent0506
Copy link

I meet the same issue.
it's really impossible to deliver an application without selection in the collections.
As there is no workaround, could you integrate this issue into the next spring ?

@StephenWin
Copy link

I am having this issues when using single pre-selection that the visual state is being ignored.

Will this ever be fixed ?

@MahmoudAlEssawi
Copy link

I have the same issue

@homeyf homeyf added the s/triaged Issue has been reviewed label May 29, 2023
@homeyf
Copy link
Collaborator

homeyf commented May 29, 2023

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Can repro on windows platform with platform.
https://github.com/mike3sullivan/MauiCollectionViewVisualState
image

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/windows 🪟 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

9 participants