Navigation title inside sheet changes navigation title outside sheet

Originator:darren.mo
Number:rdar://FB13440537 Date Originated:2023-12-03
Status:Open Resolved:
Product:SwiftUI Product Version:macOS 14.1.1 (23B81)
Classification:Incorrect/Unexpected Behavior Reproducible:Always
 
I have attached a sample project demonstrating a sheet being presented from a `NavigationSplitView` detail view. The sheet content defines a navigation title. When the sheet is presented, the navigation title shows up in both the sheet *and* the UI behind the sheet. Any preferences within a sheet—especially the navigation title—should not propagate outside of the sheet.

The bug only occurs on macOS.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!