title: CSS: How to prevent scrolling on iOS Safari?
body: <p>I created a modal. When the modal is open I'm stopping the scroll on Desktop with <code>overflow:hidden;</code> to the <code>&lt;body&gt;</code>. It's working.</p>
  
  <p>But it's not working on my iPhone 6s Mobile Safari.</p>
  
  <p>How can I prevent scrolling when the modal is open in mobile safari?</p>