WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#41899 new defect (bug)

(k=r.handle) in jquery.js causes issues when resizing screen

Reported by: maltonge Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8.1
Component: External Libraries Keywords:
Focuses: javascript Cc:

Description (last modified by SergeyBiryukov)

This duplicate causes device crashes on window resize. I just checked with a fresh WP download and the duplicate still exists in the jquery.js file. found in /wp-includes/js/jquery/

duplicate is (g=r.events)||(g=r.events={}

just do a search in the file to find.

Hope this helps you out.

Change History (3)

#1 @maltonge
2 months ago

  • Summary changed from (g=r.events)||(g=r.events={} duplicate found in jquery.js to (k=r.handle) in jquery.js causes issues when resizing screen

This (k=r.handle) causes device crashes on window resize. I just checked with a fresh WP download and this still exists in the jquery.js file. found in /wp-includes/js/jquery/

By removing this window size works ok. window resize before would crash and device, I tried on pc chrome, firefox, edge. android chrome and samsung explorer. website would crash the device if screen size changed, eg minimising or rotating.

Last edited 2 months ago by maltonge (previous) (diff)

#2 @SergeyBiryukov
2 months ago

  • Component changed from General to External Libraries
  • Description modified (diff)
  • Focuses accessibility removed

#3 @SergeyBiryukov
2 months ago

Hi @maltonge, welcome to WordPress Trac! Thanks for the report.

jQuery is an external library, so the issue should be submitted upstream: https://github.com/jquery/jquery.

Does it still happen with all plugins disabled and a default theme (Twenty Seventeen) activated?

Note: See TracTickets for help on using tickets.