'SwiftUI: Curious behavior dismissing a sheet
Can anyone explain this strange behavior in SwiftUI?
Dismissing a sheet by dragging it down has some delay until the variable bound to it is set to nil again, but setting the variable directly via button has no delay at all...
Code to the demo: https://gist.github.com/sanzaru/c16b108c3281859f581e0efd21f6bc47
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

