🐛 Bug Report
Removing a selected item from FluentDataGrid retains that item in the selected items.
💻 Repro or Code Sample
FluentUITest.zip
- Select an item in the grid.
- Take note of the selected item at the bottom.
- Click remove to remove the selected item.
- Selected item persists even though it was removed.
🤔 Expected Behavior
I think it's fair to expect that the selected item that was removed from the grid to no longer be selected since it doesn't even exist anymore.
😯 Current Behavior
The removed item persists in the SelectedItems binding after being removed.
🔦 Context
In my example, I would like to disable the remove button if no items are selected. Since the removed items still counts as being selected, I am unable to do so.
🌍 Your Environment
Windows 11, Microsoft Edge.