title: Overflow-x with scroll function to stop scrolling is buggy compared with overflow to both x and y
body: <p>Okay so I'm testing this in Safari, I'm sure it's the same in other browsers but I haven't checked (yet)!</p>
  
  <p>This piece of script works great and is not jaggerdy or buggy at all:</p>
  
  <pre><code>$('body').css('overflow', 'hidden');
  $(window).scroll(function() {
    $(this).scrollTop(0).scrollLeft(0);
  });
  </code></pre>
  
  <p>And this is what I need, but it seems to be very buggy and jaggerdy when you try and scroll, it scrolls a bit and the corrects itself (within about 100 milliseconds) whereas the above script doesn't let you scroll at all.</p>
  
  <pre><code>$('body').css('overflow-x', 'hidden');
  $(window).scroll(function() {
    $(this).scrollLeft(0);
  });
  </code></pre>
  
  <p>Is this a known bug or is there a fix at all?</p>
  
  <p><strong>EDIT:</strong>
  For those of you who are looking for an answer, there actually isn't one.  This is only a known bug in Safari (most possibly only on Mac too).</p>