Great find using the custom introspect to pull out the collection view!
Post
Replies
Boosts
Views
Activity
By the way another thing that seemed natural to try was to dismiss by changing the @Published property to false instead of calling dismiss(). This worked, but the warning was still there.
Wondering the same thing. I have logic in my ViewModel that subscribes to the state of that @Published variable. If the view were to own it fully as a @State variable, it'd have to propagate that state back to the model on every change, which doesn't even seem possible to do when the sheet is dismissed with a swipe. Even if it was, it's highly undesirable to maintain duplicate state.