title: Enable ScrollView over scroll in SwiftUI
body: <p>I've implemented a vertical scroll view (using <code>List</code>) containing two horizontal scroll views (using <code>ScrollView</code>s). The UI currently looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/mcKc8.png" height="350" /></p>
  
  <p>Here's the relevant code I've written to produce above UI:</p>
  
  <pre><code>NavigationView {
      List {
          VStack(alignment: .leading) {
              CategoryRow(...)
              CategoryRow(...)
              Spacer()
          }
          .listRowInsets(EdgeInsets())
          .navigationBarTitle(Text("Featured"))
      }
  }
  </code></pre>
  
  <p>Inside each <code>CategoryRow</code>, there's an <code>HStack</code> embedded inside a <code>ScrollView</code>.<br>
  When introducing a padding on the left &amp; right edges, I get this result:</p>
  
  <p><img src="https://i.stack.imgur.com/pgqh9.png" height="350" /></p>
  
  <p>As you can see, as a result of the padding, the horizontal scroll views are cut-off.</p>
  
  <h2>Question</h2>
  
  <p>Is there a way to have the horizontal scroll views over-scroll past their boundaries?<br>
  The result I am looking for is that there is padding on the left of the scroll views when the scroll offset is 0 and padding on the right when the scrolling all the way to the right.</p>
  
  <p>In UIKit, I did this by setting the contentOffset of the collection view...</p>