Use {passive: true} for the scroll event listener
Closed this issue · 1 comments
tchapi commented
Hi,
Would it be possible to add an option (or maybe, always set it) so we could ad {passive: true}
to the event listener ?
This would improve performance in many cases (and improve audits with tools like Lighthouse for instance)
I'm talking about this line :
Line 479 in dba91fc
Thanks !
tchapi commented