There is an assumption that this is a bug and it is reproduced only on a real device, it cannot be reproduced on a simulator.
I make a simple sheet with a state, hang PresentationDetens on the sheet elements and just quickly try to open a modal window and immediately close it (we close it with a swipe), and immediately open another or the same modal window and we get that our modal window opens on the entire screen, and not what we expected let's say presentationsDetens 500
how to fix this?
Topic:
UI Frameworks
SubTopic:
SwiftUI