Closed BretJohnson closed 2 years ago
@gitbot backport main
Backport Job to branch main Created! The magic is happening here
Hooray! Backport succeeded! Please see https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=6043502 for more details.
Remove the call to UpdateExpansions after ReloadData in response to OnPropertiesChanged (e.g. called when selection changes). This doesn't seem necessary, as when views are recreated their expansion status is set correctly originally and AppKit remembers expansion state after.
Further, this fixes AB#1521131, where the Name and Type rows are sometimes blank - apparently expanding manually, and doing it synchronously like that, causes the NSOutlineView to get confused and not show the top row sometimes.