title: Adding a drag gesture in SwiftUI to a View inside a ScrollView blocks the scrolling
body: <p>So I have a <code>ScrollView</code> holding a set of views:</p>
  
  <pre><code>    ScrollView {
          ForEach(cities) { city in
              NavigationLink(destination: ...) {
                  CityRow(city: city)
              }
              .buttonStyle(BackgroundButtonStyle())
          }
      }
  </code></pre>
  
  <p>In every view I have a drag gesture:</p>
  
  <pre><code>    let drag = DragGesture()
          .updating($gestureState) { value, gestureState, _ in
              // ...
          }
          .onEnded { value in
              // ...
          }
  </code></pre>
  
  <p>Which I assign to a part of the view:</p>
  
  <pre><code>    ZStack(alignment: .leading) {
          HStack {
              // ...
          }
          HStack {
              // ...
          }
          .gesture(drag)
      }
  </code></pre>
  
  <p>As soon as I attach the gesture, the <code>ScrollView</code> stop scrolling. The only way to make it scroll it to start scrolling from a part of it which has no gesture attached. How can I avoid it and make both work together. In UIKit is was as simple as specifying <code>true</code> in <code>shouldRecognizeSimultaneouslyWith</code> method. How can I have the same in SwiftUI?</p>
  
  <p>In SwiftUI I've tried attaching a gesture using <code>.simultaneousGesture(drag)</code> and <code>.highPriorityGesture(drag)</code> – they all work the same as <code>.gesture(drag)</code>. I've also tried providing all possible static <code>GestureMask</code> values for <code>including:</code> parameter – I have either scroll working or my drag gesture working. Never both of them.</p>
  
  <p>Here's what I'm using drag gesture for:
  <a href="https://i.stack.imgur.com/CRhSi.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/CRhSi.gif" alt="enter image description here"></a></p>