[wp-trac] [WordPress Trac] #53976: Twenty Twenty-One: Anchor link on the same page causes the menu button icon to turn upside down

WordPress Trac noreply at wordpress.org
Thu Jan 22 17:37:37 UTC 2026


#53976: Twenty Twenty-One: Anchor link on the same page causes the menu button icon
to turn upside down
---------------------------+-------------------------
 Reporter:  joelbermudez   |       Owner:  (none)
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:  duplicate
 Keywords:  has-patch      |     Focuses:  javascript
---------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-patch reporter-feedback close => has-patch
 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Duplicate of #53331.

 I'll close this. The icon issue should have been corrected as part of
 [55124].

 The support topic also mentions an issue with scrolling if the site
 positions the header with `fixed` or `sticky`. I agree that it is better
 //not// to edit the theme for everyone so it would accommodate that
 special situation. (And in that case, changing the CSS to `sticky`
 //might// work better than editing the script.)
 {{{
 @media only screen and (max-width: 481.98px) {
         .lock-scrolling .site {
                 position: sticky;
         }
 }
 }}}

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


More information about the wp-trac mailing list