I hit this too (iOS 27, NavigationSplitView with .bottomBar items in the sidebar, on a device that changes size class - I tested on an iPhone Duo) and tracked down what’s happening.
When the split view collapses or expands, UIKit moves the column’s hosting controller between two different navigation controllers: the column’s own one, and a separate compact one. The toolbar items move with the hosting controller, but the bar’s visibility (isToolbarHidden) belongs to each navigation controller, and SwiftUI doesn’t re-apply it after the move. So you can end up in a navigation controller whose bar is still hidden, even though your items are there. That’s why hiding/showing the sidebar or pushing/popping brings it back: those make it get set up again.
SwiftUI seems to only re-send toolbar state when its value changes, so a workaround is to make the visibility depend on the horizontal size class:
.toolbarVisibility(horizontalSizeClass == .compact ? .automatic : .visible, for: .bottomBar)
The value changes on every collapse/expand, so it gets sent to whichever navigation controller is showing the column at that moment.
The same thing breaks .matchedTransitionSource on a bottom-bar item (“Starting a zoom transition from a nil view…”). Each navigation controller builds its own bar button, and the source isn’t registered again on the one you move back to. Making the source ID depend on the size class fixes that too.
Topic:
UI Frameworks
SubTopic:
SwiftUI