You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In .NET MAUI IOS application , page with Collection view is retaining its selection and the selection colour is Grey when we navigate to other page and come back again.
Steps to Reproduce
Add the Collection view with Items to display.
Select any item to navigate to Next Page.
Close the page to navigate to Collection view page .
Expected Result :
Item selection should not be retained and Item selected colour should not be Grey.
Original Result :
It retains the selection and Item selected colour is Gray.
Link to public reproduction project repository
No response
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.30 SR3
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
NO.
Relevant log output
The text was updated successfully, but these errors were encountered:
I think that it's an intended behavior. When you tap on an item, SelectedItem gets the value of that item and this causes the gray coloring. Navigating to another page doesn't have anything to do with the item state.
You have to manually set SelectedItem to null when you navigate, if you want it to turn white again.
You could also try to set SelectionMode to None.
Description
In .NET MAUI IOS application , page with Collection view is retaining its selection and the selection colour is Grey when we navigate to other page and come back again.
Steps to Reproduce
Expected Result :
Item selection should not be retained and Item selected colour should not be Grey.
Original Result :
It retains the selection and Item selected colour is Gray.
Link to public reproduction project repository
No response
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.30 SR3
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
NO.
Relevant log output
The text was updated successfully, but these errors were encountered: