Confirmation dialog in NavigationStack toolbar button appears inconsistently or in wrong position

Hello,

I’m encountering an issue with a confirmation dialog presented from a toolbar button within a NavigationStack. The dialog rarely appears, and when it does, it sometimes shows up in unexpected positions on the screen. The view is presented in a sheet.

Environment: • Xcode 26.0.1 • iOS 26.0 (iPhone 17 Pro Simulator)

Has anyone else experienced this behavior or found a reliable workaround?

Here is the video of the issue:

Video

And the warning that occurs when I press the button:

Dismissing a zoom transition to a view not in the view hierarchy will trigger a fallback transition. To correct the error, be sure to a provide a view that's visible and in a window. View: <_UINavigationBarPlatterGlassView: 0x1200e46d0> → <_UINavigationBarPlatterContentView: 0x1200e4510> → <_UINavigationBarPlatterAnimationView: 0x1200e4360> → <_UINavigationBarPlatterAnimationView: 0x1200e41b0> → <_UINavigationBarPlatterAnimationView: 0x1200e4000> → <_UINavigationBarPlatterAnimationView: 0x1200951f0> → <_UINavigationBarPlatterView: 0x1200e3d20> → <UIKit.NavigationBarPlatterContainer: 0x12028c850> → <UIKit.NavigationBarTransitionContainer: 0x12029c8b0> → <UIKit.NavigationBarContentView: 0x106b91400> → <SwiftUI.UIKitNavigationBar: 0x12029c600> → <UILayoutContainerView: 0x1202c05d0; name=UILayoutContainerView (SwiftUI.UIKitNavigationController)>

Thank you for sharing the post, video, and error message. I understand that you have provided all the necessary information. However, I would appreciate it if you could also provide a focused sample project that reproduces the issue.

Have you encountered the same issue in iOS 26.1 beta?

Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

Albert Pascual
  Worldwide Developer Relations.

Confirmation dialog in NavigationStack toolbar button appears inconsistently or in wrong position
 
 
Q