WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 10 days ago

#47510 new enhancement

Developer tool - Best Practice - input comment field Does not use passive listeners

Reported by: efilippucci Owned by:
Milestone: Awaiting Review Priority: normal
Severity: major Version: 5.2.1
Component: Comments Keywords:
Focuses: javascript, performance Cc:
PR Number:

Description

Using chrome developer tool, I noticed that, when is displayed the input comment field in standard post, one best Practice is not satisfied:

Does not use passive listeners to improve scrolling performance.
Consider marking your touch and wheel event listeners as passive to improve your page’s scroll performance.
js/comment-reply.min.js?ver=5.2.1

One theme developer confirmed that this is a WordPress core problem: https://generatepress.com/forums/topic/gp-2-3-alpha-3-consider-using-passive-listeners/#post-923468

Change History (4)

#1 @SergeyBiryukov
4 months ago

  • Component changed from General to Comments

Related: #46713

#2 @efilippucci
4 months ago

  • Severity changed from minor to normal

#3 @mwanmedia
7 weeks ago

  • Focuses javascript added

waiting this ticket

#4 @slkfsdf8y34ljhsfsdfkuhfkl84hj
10 days ago

  • Severity changed from normal to major

This is hurting the wordpress performance. Please consider rising it up as a priority.

Note: See TracTickets for help on using tickets.