• Resolved ivhaaid

    (@ivhaaid)


    I encountered a problem while testing the page at Lighthouse, here is the attached image (https://prnt.sc/w7t18i)

    It is clear that the problem arises because of the js/comment-reply.min.js script “Does not use passive listeners to improve scrolling performance”

    I can’t fix it, can you help me fix the problem?

    I’m really having a hard time

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Listeners that call .preventDefault() cannot be made passive, or if they are made passive, the .preventDefault() call is ignored, likely causing erroneous behavior. The listeners added from comment-reply do use .preventDefault(), so there is no practical fix other than disabling comments entirely.

    It’s not always practical to address everything lighthouse flags. You have to let some things go.

Viewing 1 replies (of 1 total)
  • The topic ‘Does not use passive listeners to improve scrolling performance’ is closed to new replies.