aheze/Popovers

Error Message

tazmancoder opened this issue · 1 comments

I am using Popovers in a project I have called Hymn Tracker. I am getting the following:

[Popovers] - No window was found when presenting popover. Please file a bug report (https://github.com/aheze/Popovers/issues).

I have a TabView with 3 tabs. I use the popover to show hints to the user on how to start using the app. Things like "Tap here to enter new program" etc ..... These hints are tied to a timer that will show the popover every 60 seconds. If I go to another tab that doesn't have the popovers on it, say the settings tab and change a setting and then come back to the first tab, every so often the above error shows in the output window.

My app doesn't crash, but I figured I'd let you know

aheze commented

Thanks. This is something to do with SwiftUI's State properties and windows. Been experimenting with this for a while, will update if I find anything 👍