Post

Replies

Boosts

Views

Activity

Reply to Unable to present. Please file a bug.
I'm seeing the same error - Unable to present. Please file a bug. My setup is that I have a ParentView that has a NavigationLink that leads to ChildView. On the ChildView, I have a @StateObject view-model. And whenever something in ChildView changes and causes things to be rebuilt (repainted) in ParentView, I get this message Unable to present. Please file a bug. My intuition tells me that at that moment, ChildView gets rebuilt as well, only keeping the @StateObject, and it does not properly get presented. But I'm curious to find out what the "real" explanation and a possible solution is.
May ’21