4 ms·
Because all major browsers support creating `onscroll` event handlers and some people offer money to javascript developers if they will do annoying and mildly e
by josephorjoe 9y ago
Because all major browsers support creating `onscroll` event handlers and some people offer money to javascript developers if they will do annoying and mildly evil stuff and a large number of those javascript developers say "Sure boss, whatever you want".
The browser creators, people paying for websites, and (many) javascript developers all seem happy with this, unfortunately.
- majewsky 9y agoProblem is, `onscroll` is not bad per se. I really like those progress indicators that some sites implement, esp. on mobile where the scrollbar is not permanently visible. That's the (IMO) legitimate use-case for `onscroll`.