I have been googling this topic for a while and it seems everybody is experiencing some kind of issues with dismissing modals after the new iOS 14 release, but I have not found anybody also struggling with my specific case.
After upgrading to iOS14 (14.0.1 included), all my sheet modals in my app started to act randomly weird: Sometimes the modals act perfectly as usual
Sometimes (most of the time) I have to kill the app because the modal is not dismissed and I cannot go back to the main view
Sometimes a modal is automatically (non-desired) closed right after it opens, and after that, the modal works fine (and so it is not closed until I say so)
Does anybody know what is going on with iOS14 and sheet modals? Should we close modals in a different way than in iOS 13?
I tried closing the modals in two different ways: either by using the Binding<Bool> method, or by using the Environment presentationMode method, and while both methods were all working fine in iOS13, now in iOS14 they are all randomly (more than 50% of the time that I open the app) failing.
Selecting any option will automatically load the page