Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
yoshuaw
on Aug 16, 2017
|
parent
|
context
|
favorite
| on:
Passive event listeners
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...
whipoodle
on Aug 16, 2017
[–]
Hmm, I couldn't get that to happen. Seems fine to me.
yoshuaw
on Aug 16, 2017
|
parent
[–]
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: