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 a ListBox bound to an ObservableCollection, if the position of a selected item is changed, the selection is lost.
The selected item should remain selected even after its position is changed. This issue has been present since release 11.0.13 and persists in subsequent versions.
A Sample project is attached. We are using VS2022 SampleObservableCollection.zip
To Reproduce
Run the sample project.
Select an item in the ListBox.
Click the Update Row button located at the bottom of the ListBox.
The selected item will move to the top, but its selection will be cleared.
Expected behavior
On moving selected item on the top of the list, it should remain selected.
Avalonia version
11.1.0 and onwards
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
In a ListBox bound to an ObservableCollection, if the position of a selected item is changed, the selection is lost.
The selected item should remain selected even after its position is changed. This issue has been present since release 11.0.13 and persists in subsequent versions.
A Sample project is attached. We are using VS2022
SampleObservableCollection.zip
To Reproduce
Expected behavior
On moving selected item on the top of the list, it should remain selected.
Avalonia version
11.1.0 and onwards
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: