[wp-trac] [WordPress Trac] #52116: Twenty Twenty: Menu + Search can cause a scroll jump on close

WordPress Trac noreply at wordpress.org
Wed Nov 3 14:12:36 UTC 2021


#52116: Twenty Twenty: Menu + Search can cause a scroll jump on close
---------------------------+-----------------------------
 Reporter:  kjellr         |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  javascript
---------------------------+-----------------------------
Changes (by sabernhardt):

 * keywords:   => needs-patch
 * focuses:   => javascript
 * milestone:  Awaiting Review => Future Release


Comment:

 This relates to the `scrollTo` function inside a
 [https://core.trac.wordpress.org/browser/trunk/src/wp-
 content/themes/twentytwenty/assets/js/index.js?rev=51322#L241 setTimeout],
 within `hideAndShowModals`.

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


More information about the wp-trac mailing list