Big Sur issues fix
Closed this issue · 3 comments
ashchan commented
ashchan commented
Delete alert issue seems to be a common problem: https://forums.swift.org/t/actionsheet-and-modal-seems-have-bug-in-navigationview/29590/13
A workaround is to move alert or sheet outside of the navigation view. Not a great solution but worth trying.
First will try adding showingDeletePrompt = false
to actions from the Alert
to check if that could fix the issue.
ashchan commented
Update: adding showingDeletePrompt = false
to actions from the Alert
doesn't solve the issue.
ashchan commented
Will use the method described in this article: https://sarunw.com/posts/how-to-show-multiple-alerts-on-the-same-view-in-swiftui/
In short: use a single alert from the top level view.