Hacker News new | ask | show | jobs
by twiss 3365 days ago
It works for me in Chrome 56 and 57 on Linux. In Firefox, the scroll isn't hijacked (presumably chosen because Firefox has had smooth scrolling longer?), but in Firefox 52 (but not 54) this still improves scroll performance a whole lot:

    window.addEventListener('scroll', function(evt) { evt.stopImmediatePropagation(); }, true)
1 comments

Wow yeah. That's noticable to the point that it's almost extension-worthy.

Any idea how much potential that snippet has for causing issues if applied generally across the board?