Nonfatal error navigating Site editor in narrow viewports #68929
Labels
Mobile Web
Viewport sizes for mobile and tablet devices
[Package] Edit Site
/packages/edit-site
[Type] Bug
An existing feature does not function as intended
Description
In a narrow viewport (< 783px) in the Site editor, drilling down to a sub menu causes an error message in the console. I expect there to be no errors.
I'm not sure when this was introduced and it’s a pretty harmless thing. From what I can tell the only consequence besides console errors would be that the forward/back animations would not work. It’s a moot point for now because the nav immediately gets removed and there’s no chance to see an animation anyway.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
site-editor-narrow-viewport-nav-error.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: