-
Notifications
You must be signed in to change notification settings - Fork 113
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.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popup stays on screen #31
Comments
I’ve seen this before, wasn’t able to figure out a universal solution. But anyway try dismissing the popover first before navigating to another tab. |
Well, it would be nice to come up with one. Unfortunately I can’t control if a user taps a tab. However, I did decide to have the popover dismiss after 1 sec. Hopefully that will work, thanks for getting back to me. |
Did you find another solution to this @tazmancoder ? |
No, I wasn't able to find another solution to this issue. |
@tazmancoder thanks - I figured out a solution: #93 (comment) by exposing presentedPopoverContainer and manipulating it in onDisappear |
I have a SwiftUI app that has a TabView. On the second tab I load contacts and present a popover when done loading contacts. When the popup is on screen if I tap any other tab I get the following error:
[Popovers] - No window was found when presenting popover. Please file a bug report (https://github.com/aheze/Popovers/issues).
The popover stays on the screen
.
The text was updated successfully, but these errors were encountered: