Site logo

[Resolved] Consider marking your touch and wheel event listeners as `passive`

Home Forums Support [Resolved] Consider marking your touch and wheel event listeners as `passive`

Home Forums Support Consider marking your touch and wheel event listeners as `passive`

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1664340
    Henry Bowman

    Google has a new challenge for us this week. it’s asking if this is possible:

    “Consider marking your touch and wheel event listeners as passive to improve your page’s scroll performance”

    IS this something that can be performed in generate press? We are all the sudden tanking in our mobile rating again.

    #1664383
    David
    Staff
    Customer Support

    Hi there,

    thats an a core WP issue – see the topic here:

    https://generatepress.com/forums/topic/passive-listeners-to-improve-scrolling-performance/#post-1149150

    One of our users, replied with a ‘fix’ but its not without its own issues… so beware.

    #1667573
    Henry Bowman

    Thank you for the information. I checked out the post and was almost instantly lost as it looks like the only information on the topic is how to refer to the topic…lol

    Looks like a case of Google creating the next pile of work for developers through the summer. I’ll wait for them to fix it rather than me fumbling through it.

    #1667613
    David
    Staff
    Customer Support

    Yeah this is the link to the WP core trac tick https://core.trac.wordpress.org/ticket/47510
    You will see its noted as a WP Bug but they won’t fix it.

    Now i am not sure on this but WP has been updated to use newer versions of jQuery so this may lead to a solution in the future.

    In the meantime i would just ignore it … Google is just warning of a potential issue not an explicit issue.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.