title: SWIFT - HTML scrolling events in a WKWebView that's inside a ScrollView
body: <p>I have a web page for testing purposes (<a href="https://storage.googleapis.com/htmltestingbucket/nested_scroll_helper.html">https://storage.googleapis.com/htmltestingbucket/nested_scroll_helper.html</a>) that just prints a counter of the scroll event the html has caught in a fixed header</p>
  
  <p>When the WKWebView is the only scroll-able element in the fragment everything is fine and the WebView sends the scroll events to the page</p>
  
  <p>If I want to add native elements above and below the WebView then things get much more complex.</p>
  
  <pre><code>UIScrollView  
      UILabel
      WKWebView
      UILabel
  </code></pre>
  
  <p>I know it's not good to have a WebView inside a ScrollView but I have to provide a single scrolling experience with hybrid content and proper scrolling events in the html document. I found plenty of questions on the matter but I was not able to create a full end-to-end solution.</p>