[wp-trac] [WordPress Trac] #52634: Twenty Twenty: Child Theme Search Modal Safari Throws Error in Parent asset/index.js

WordPress Trac noreply at wordpress.org
Thu Oct 28 04:00:39 UTC 2021


#52634: Twenty Twenty: Child Theme Search Modal Safari Throws Error in Parent
asset/index.js
-------------------------------+------------------------------
 Reporter:  wp89mkt            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Bundled Theme      |     Version:  5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  javascript
-------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => reporter-feedback
 * focuses:   => javascript
 * version:  5.6.2 => 5.3


Comment:

 Thanks for the report!

 That line is in the [https://core.trac.wordpress.org/browser/trunk/src/wp-
 content/themes/twentytwenty/assets/js/index.js?rev=51322#L376
 keepFocusInModal function]. Both search buttons should have the `data-
 toggle-target=".search-modal"` attribute, but it might help to know if
 this error occurs when clicking either the desktop or mobile search toggle
 button (or both).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52634#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list