You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Fatal error: No ObservableObject of type ResponderChain found. A View.environmentObject(_:) for ResponderChain may be missing as an ancestor of this view."
#5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
This happens when you don't forward the EnvironmentObject.
If you have a sheet or a ViewRepresentable layer you have to manually forward the ResponderChain.
More detailed explanation of why you have to do this:
https://medium.com/swlh/swiftui-and-the-missing-environment-object-1a4bf8913ba7
Note: If you have issues with the modal being initialized when the ResponderChain changes then switch to
.withResponderChainForCurrentWindow()
The text was updated successfully, but these errors were encountered: