Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The intercept is a fun example of where Passive Listeners would help. If you check out this article on mobile, you'll see the header jump around; passive listeners would fix that https://theintercept.com/2017/08/15/fearful-villagers-see-th...


Hmm, I couldn't get that to happen. Seems fine to me.


Hah, maybe you have a better device than I do. If you toggle log level "verbose" on in the chrome console you'll see a warning being emitted specifically about the scroll listener not being passive.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: