title: Prevent body from scrolling when modal open and jump to top
body: <p>I've been trying many solutions and I can't seem to make this work.</p>
  
  <p>I've found a solution that works for preventing the body to scroll when the modal is open:</p>
  
  <pre><code>body.modal-open {
      overflow: hidden;
      position: fixed;
      width: 100%;
      height: 100%;
  }  
  </code></pre>
  
  <p>This works fine. The problem is, when I open the modal the body scrolls to the top. I don't want this behaviour, and I understand it has to do with the position:fixed. I tried relative, and it did not work.</p>
  
  <p>Thanks in advance.</p>