Did you add the delay so the compiler doesn't complain about publishing changes while updating the view?
Post
Replies
Boosts
Views
Activity
Okay, I know tried the exact same but with a popover and not a sheet and it works like a charm. Another thing I recognized is that if you write the popover View code in the same View struct as the popover modifier itself, hiding it would not work with presentationMode but with the isPresenting var for the popover itself. If you write the popover View code in its own struct and then init this struct in the popover modifier then presentationMode will work for hiding the popover. Really confusing.