dotnet / docs-maui

This repository contains documentation for .NET Multi-platform App UI (MAUI).
https://docs.microsoft.com/dotnet/maui
Creative Commons Attribution 4.0 International
221 stars 193 forks source link

Add information to the CoillectionView documentation showing how to handle a reselect scenario #2362

Closed PureWeen closed 1 month ago

PureWeen commented 1 month ago

Help make content visible

A common scenario is that users will select something and then navigate away. Once they navigate back the element is still selected which will result in users being unable to reselect the given item.   https://github.com/dotnet/maui/pull/21490#discussion_r1623301225

The original issue also points to our samples, because our samples don't allow reselection. https://github.com/dotnet/maui/issues/20273

So, it might be useful to update our samples so that re-selection works and users can see it working.

kubaflo commented 1 month ago

@PureWeen https://github.com/dotnet/maui-samples/pull/495 https://github.com/dotnet/docs-maui/pull/2388