Site logo

Archived topic

Passive Listeners

3 replies · Started by troyw on March 3, 2021

Viewing posts 1–4 of 4

Hey team,

I am trying to address the Passive Listener issue being spat out by Page Speed Insights and following the below link, I added the suggested CSS to my functions.php file.

https://generatepress.com/forums/topic/passive-listeners-to-improve-scrolling-performance/?bbp_reply_to=1538548&_wpnonce=899fa39ca5#new-post

Alas, P S I is still moaning "Does not use passive listeners to improve scrolling performance"

Are you aware of any work arounds for this?
Thanks

Hi there,

It's a WordPress core issue.

See the ticket about it here:
https://core.trac.wordpress.org/ticket/47510

While you can dequeue the script being flagged, some plugins may break as their scripts may be dependent on WordPress' default jquery library.

Thanks Elvin

No problem. :)

This archived topic is closed to new replies.