[wp-trac] [WordPress Trac] #56767: Navigation Block stops being clickable, if custom Gutenberg Block is present

WordPress Trac noreply at wordpress.org
Sun Oct 9 06:24:07 UTC 2022


#56767: Navigation Block stops being clickable, if custom Gutenberg Block is
present
--------------------------+------------------------------
 Reporter:  samreciter    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.0.2
 Severity:  normal        |  Resolution:  invalid
 Keywords:  needs-patch   |     Focuses:  ui, javascript
--------------------------+------------------------------
Changes (by samreciter):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Replying to [ticket:56767 samreciter]:
 > The new Navigation Gutenberg Block stops being clickable on the front
 end, if a custom Gutenberg Block is present on the same page. Tried with
 different of working custom Blocks of my own. Seems somehow there must be
 Javascript in the background that hinders the link execution. No
 Javascript errors are shown in the console. No custom Javascript is
 included via the custom blocks - thus the link blocking Javascript must be
 contained in the WordPress core code.

 Seems to have something to do with the styling:

 {{{
 @media (min-width: 600px)
 .wp-block-navigation__responsive-close {
   pointer-events: none;
 }
 }}}
 I'll try to find out more first.

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


More information about the wp-trac mailing list