maui
maui copied to clipboard
[MAUI] I CollectionView - After selecting an item in a subpage once, you cannot select any other items when you back
Description
I CollectionView - After selecting an item in a subpage once, you cannot select any other items when you back.
Steps to Reproduce
- Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests to Windows.
- Navigate to 'I CollectionView' ->'I1 Layout'/'I2 Spacing'/'I3 Sizing'/'I4 Selection'/'I5 EmptyView'/'I6 Grouping'/'I7 Pull to Refresh'/'I8 Headers and Footers'/'I9 Csrolling'/'I10 Swipe'
- Click on any item on the page to enter
- Click the Back button
- Select any item on the page again, no response
Actual Behavior:
I CollectionView - After selecting an item in a subpage once, you cannot select any other items when you back
Expected Behavior:
After selecting an item in a subpage, you can still select any other item when you back.
Link to public reproduction project repository
https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests
Version with bug
Microsoft.Maui.Controls 8.0.70-ci.net8.24325.2
Is this a regression from previous behavior?
Not a regression, The issue also repro on 8.0.61& 8.0.60& 8.0.40 & 8.0.20 & 8.0.3
Affected platforms
Windows
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- Previously selected Shellitem cannot be reselected (#20273), similarity score: 0.80
- [BUG] Windows Shell Flyout Navigation fails to navigate to same page after navigating back from it (#20635), similarity score: 0.78
- Custom selection styles for items in CollectionView are ignored when programmatically selecting an item (#18933), similarity score: 0.77
Closed similar issues:
- [MAUI]Clicking on the page will trigger opening the page twice and you must return twice before you can return to the original page (#22966), similarity score: 0.77
- MAUI - CollectionView Pre Select Item background color not change on windows (#15666), similarity score: 0.76
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
The issue no longer occurs in the latest .NET MAUI version(9.0.50)
https://github.com/user-attachments/assets/8dff7956-d3d7-4480-9bcd-cb533f42847e
Hi @@Zhanglirong-Winnie. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.