Repository navigation
Tags
Tags
Keep the file pane listing when SwiftUI remounts the pane recomputeVisibleItems was cancelled from onDisappear, but SwiftUI can call onAppear before onDisappear while moving a pane, which cancelled the freshly started recompute and left the pane empty until the items changed again. Track a generation counter so only the newest recompute writes visibleItems, and stop cancelling on disappear.