themes icon indicating copy to clipboard operation
themes copied to clipboard

Twenty Sixteen: Sub-menus won't open (mobile)

Open ezebecke opened this issue 3 years ago • 23 comments

Quick summary

When using theme Twenty Sixteen and on mobile, trying to tap the arrow on the parent menu to display sub-menu items throws an error and won't open.

Steps to reproduce

1- Activate "Twenty Sixteen". 2- Create a menu with at least one menu-item containing sub-menus. 3- Try to access the sub-menu on a mobile device.

What you expected to happen

To have the sub-menu opened and be able to select a sub-menu item.

What actually happened

The menu won't open, and browser console throws error:

Uncaught TypeError: el.matches is not a function

Video example: https://github.com/Automattic/wp-calypso/assets/24919469/b1aab3f8-e7c8-4ba9-8e17-208141ebb10d

the

Impact

Some (< 50%)

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

Uncaught TypeError: el.matches is not a function

ezebecke avatar May 21 '23 13:05 ezebecke

Also reported here: 6316413-zen

I could reproduce on my test sites.

masperber avatar May 22 '23 16:05 masperber

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 6316413-zen
  • [ ] 6316576-zen
  • [ ] 6315153-zen
  • [ ] 6318910-zen
  • [ ] 6324490-zen
  • [ ] 6325200-zen
  • [ ] 6326163-zen
  • [ ] 6339297-zen
  • [ ] 6340010-zen
  • [ ] 6343873-zen
  • [ ] 6351099-zen
  • [ ] 6352814-zen
  • [ ] 6370721-zen
  • [ ] 6380908-zen
  • [ ] 6402179-zen
  • [ ] 6402667-zen