[wp-trac] [WordPress Trac] #48916: Twenty Twenty: anchor links don't work in mobile menu

WordPress Trac noreply at wordpress.org
Wed May 6 18:06:49 UTC 2020


#48916: Twenty Twenty: anchor links don't work in mobile menu
---------------------------+-----------------------------
 Reporter:  Giorgio25b     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Bundled Theme  |     Version:  5.3
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  javascript
---------------------------+-----------------------------

Comment (by bdcstr):

 "Temporary" because the fix could be overwritten when you update the theme
 to the future version -> you need to keep that in mind
 "Not perfect".. Honestly I don't recall why I said that 2 months ago :D It
 worked for me, and I'm happy if it helps someone ;)

 Replying to [comment:5 samful]:
 > The patch made by @bdcstr (https://wordpress.org/support/topic/mobile-
 menu-doesnt-work-for-anchor-links/#post-12487136) works for me, but he
 says it is "**temporary-and-not-perfect**". I'm not sure why this is, but
 it seems to make the mobile menu go away and go to the correct anchor when
 a hyperlink on the mobile menu is clicked for me, and this doesn't occur
 without the fix.
 >
 > I know you are busy @anlino, but can you comment on this patch? It looks
 like it's almost fixed to me and after fixing the Chaplin version
 hopefully you know what to do.

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


More information about the wp-trac mailing list