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
Could this perhaps be used to force the popover closed inside .onDisappear on the parent view ?
edit: I now see that this change is included in this PR: #73
edit: Success! I used that PR plus some other changes to make properties public to retain presentedPopoverContainer in my SwiftUI view that uses popover, then I can dismiss it in onDisappear. Yay. Messy code but maybe there's a way to resolve this within the library itself.
edit: The #73 PR is likely irrelevant to my fix, which just requires exposing presentedPopoverContainer as public and capturing it in a PopoverReader. A better solution would be to solve this inside Popovers itself.
I am using popover in swiftUI project.
When I pop the paged attached popover, showed popover doesn't disappear.
How can I dismiss showed popover?
The text was updated successfully, but these errors were encountered: