Closed ailu2533 closed 5 days ago
Not able to repo, tested on device/simulator on iOS 18, simulator on iOS 17/18.
Are you able to repo in a particular simulator? Can you please share your Xcode version and iOS sim version
Not able to repo, tested on device/simulator on iOS 18, simulator on iOS 17/18.
Are you able to repo in a particular simulator? Can you please share your Xcode version and iOS sim version
Thanks for checking. Here's my environment info:
Ok, bug seems to be with the toolbar
modifier applying it to the NavigationStack
in the ContentView
. As a workaround, I found that you can wrap your NavigationStack
that is in the ContentView
within a VStack
Description
When using a custom detent with PresentationLink and the sheet content contains a NavigationStack, the sheet's toolbar briefly appears in the parent view's navigation bar. This issue doesn't occur when using constant detents.
Reproduction Steps
Minimal Reproduction Code
https://github.com/user-attachments/assets/95fd14ec-79d9-4ac4-8862-11beeca9268e