Picker regression in 8.0.60 #23367
Labels
area-controls-picker
Picker
fixed-in-8.0.70
fixed-in-9.0.0-preview.7.24407.4
p/1
Work that is important, and has been scheduled for release in this or an upcoming sprint
platform/android 🤖
platform/windows 🪟
potential-regression
This issue described a possible regression on a currently supported version., verification pending
t/bug
Something isn't working
Milestone
Description
There is a regression in the behavior of Picker when, upon selection of an item, a new item is inserted into an ObservableCollection that serves as the ItemsSource before the currently selected item, and the SelectedIndex is incremented to keep the same item selected. This worked in 8.0.40 and before, and now in 8.0.60 and 8.0.61 results in an infinite loop that locks up the application.
Steps to Reproduce
Link to public reproduction project repository
https://github.com/BurningLights/MauiPickerIssue
Version with bug
8.0.60 SR6
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.40 SR5
Affected platforms
Android, Windows
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: