I'm facing this exact same issue as well. Whenever adding a background to the view inside a NavigationView inside a TabView, the collapsing behavior of the navigation bar no longer works. Have you found a workaround for it yet?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: