[wp-trac] [WordPress Trac] #53619: Twenty Twenty-One: JS Error for Anchors that load custom modals or react hash routes

WordPress Trac noreply at wordpress.org
Mon Oct 4 16:34:28 UTC 2021


#53619: Twenty Twenty-One: JS Error for Anchors that load custom modals or react
hash routes
-------------------------------------------------+-------------------------
 Reporter:  rixeo                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.9
Component:  Bundled Theme                        |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-       |     Focuses:  javascript
  testing-info                                   |
-------------------------------------------------+-------------------------

Comment (by hellofromTonya):

 Replying to [comment:5 rixeo]:
 > sure :) You can add a custom nav menu that points to a custom hash.
 Clicking it on the frontend will trigger the error

 Thank you.

 The term "custom hash" may be unfamiliar for contributors. I assume it's
 referring to an anchor that links to specific spot in a web page. Is this
 correct?

 What could be helpful is to provide the setup instructions that guide
 testers to prepare for testing when a "custom hash" exists and when it
 doesn't exist.

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


More information about the wp-trac mailing list