Ondra Kandera
Ondra Kandera
I have the same problem. Even reloading the view (via network request and `@Published` property) causes tabs to reset and navigation stacks to pop. Changing it to `@StateObject` indeed fixed...
Following up with some more info after some more investigations. For me the `TabView` refreshed because all of the underlying state was reloaded. I have a similar setup to example...
Too late, but still... Try calling _setDrawerState_ function after setting _mainViewController_. ```swift elDrawer.mainViewController = viewController elDrawer.setDrawerState(.closed, animated: false) ``` This solved the issue for me in similar situation (not related...