So I noticed NavigationStack transitions had stopped working in Big Mail...again.
After spending an hour working back through my commits to find what stupid thing is causing it this time, the offender is…
...drumroll please…🥁
✨ Presenting a confirmation dialogue from a ToolbarItem ✨
@phill SwiftUI?
@tomk the very one!
@phill oh that’s weird. I would love a feedback if you have a chance to file. I don’t know why that wouldn’t work, so there’s likely an interesting bug lurking somewhere deep. Sorry for the frustration.
@curtclifton Just filed one for you now FB12223120. It seems to only occur if the NavigationStack has a path bound to an ObservableObject.
There's also a similar issue where NavigationSplitView will fail to animate pushes of the detail column if the content column changes from being a List (FB12178616)
Hope that helps!
@phill thank you! I’ll take a look at both.
@curtclifton np! And if it’s helpful, I've also noticed it happens if you multitask out of the app and back again (no confirmationDialogue now, just NavigationStack with a path) https://gist.github.com/phillipcaudell/5871cc1690bbdbe40b3d01cbf8bf85ee
@phill that’s an interesting clue. The system screenshots apps in various configurations when backgrounding. This supports the App Switcher. It got more aggressive about that on iPhone in iOS 16.
@curtclifton no bug to report here today - just wanted to say thanks for being so engaged here! Feedbacks have an often well deserved reputation for being a black hole, but the simple act of acknowledging them and asking for them makes a big difference!
@phill Holy cow. Btw, what does “looks pants” mean?
I moved it into the ToolbarItem when I was recording the iPad promo videos, as it was presenting from the whole view, not the button, and it looked naff.
But now I guess I can't have that without iPhone transitions breaking.
This framework is exhausting.