-
Notifications
You must be signed in to change notification settings - Fork 1.9k
CollectionView SelectedItem loses Background after opening and closing a Modal page #22467
Copy link
Copy link
Closed
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/ioss/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
Changing CollectionView SelectedItem BackgroundColor using VisualStateManager does not seem to be working properly on iOS. If an item is in the Selected state and we change the background color, open a modal page, then close that modal page, the SelectedItem no longer has the background color that was previously set.
Steps to Reproduce
- Run linked github project
- Select an item in the list
- Click "Click Me" button to open a modal page
- Click "click me" button on the modal page to close it
- SelectedItem on MainPage loses background color
Link to public reproduction project repository
https://github.com/jgon34/maui-bug
Version with bug
8.0.20 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 17.2
Did you find any workaround?
Use async messaging bus to send message back to underlying page to re-select the item when the modal is dismissed.
Relevant log output
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/ioss/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
Type
Fields
Give feedbackNo fields configured for issues without a type.
