[wp-trac] [WordPress Trac] #61876: Exception thrown in navigation/view.min.js on mobile device

WordPress Trac noreply at wordpress.org
Thu Aug 15 08:18:10 UTC 2024


#61876: Exception thrown in navigation/view.min.js on mobile device
--------------------------+-------------------------------
 Reporter:  derroth       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  6.6.1
 Severity:  normal        |   Keywords:  navigation mobile
  Focuses:                |
--------------------------+-------------------------------
 After the update to 6.6.1 the menu isn't shown anymore on mobile devices.
 Remote debugger shows:

 {{{
 Uncaught SyntaxError: Cannot use import statement outside a module
 }}}

 Opening the file in the remote console the following line is marked as
 faulty:


 {{{
 // source --> https://toebele-rechberghausen.de/wp-
 includes/blocks/navigation/view.min.js?ver=6.6.1
 import*as e from "@wordpress/interactivity";
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61876>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list