Closed danipen closed 10 months ago
The problem is that when moving selection via the keyboard, the focus isn't updated, so when the root row is collapsed, the child row still has focus. Collapsing causes the child (focused) row to be removed from the tree causing focus to be set to null
.
The following sequence of actions reproduces the case.
Check the following video for a complete repro:
https://github.com/AvaloniaUI/Avalonia.Controls.TreeDataGrid/assets/501613/f62b0d7a-83c4-4968-8318-50f18a4c2390