I created a simple sheet that presents a basic few. The problem is, that this view contains a list that is also draggable. And so when I drag the list, my sheet gets dismissed too. Does anyone know how to disable the drag gesture on the sheet in SwiftUI or has a better idea?
Asked
Active
Viewed 238 times
0
-
Can you share a code example please? – davidev Jun 17 '20 at 10:18
-
Possible duplicate of [Is it possible to make a modal non-dismissible in SwiftUI?](https://stackoverflow.com/questions/57398353/is-it-possible-to-make-a-modal-non-dismissible-in-swiftui/57399626#57399626) – Jack Goossen Jun 17 '20 at 10:36