4 ms·
> The gist of it: if you mark onscroll/ontouch event listener as passive, Mobile Google can scroll your page faster onscroll has never been cancelable, and is
by marijn 9y ago
> The gist of it: if you mark onscroll/ontouch event listener as passive, Mobile Google can scroll your page faster
onscroll has never been cancelable, and is fired after the actual scrolling takes place. So I don't see how it being passive by default changes anything. Is this an oversight in the article (and a bunch of comments here), or am I missing something?
https://developer.mozilla.org/en-US/docs/Web/Events/scroll https://developer.mozilla.org/en-US/docs/Web/Events/scroll