-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Feature] Navigation Overlays[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When using a Navigation block with an Overlay template that includes a sub-menu and the Show arrow option enabled, tapping the back arrow icon on mobile does not close the sub-menu overlay. The user must tap outside the overlay to dismiss it instead.
This appears to be a regression introduced in Gutenberg 22.6.0, which shipped the Navigation Overlays feature.
Steps to Reproduce
- Create a navigation with an Overlay template.
- Add a sub-menu item beneath one of the top-level links.
- Enable the Show arrow option on the Navigation block.
- On a mobile device, open the navigation overlay.
- Tap the top-level item to open the sub-menu.
- Tap the back arrow icon to close the sub-menu.
Expected Behaviour
Tapping the back arrow closes the sub-menu overlay and returns to the top-level navigation view.
Actual Behaviour
Tapping the back arrow has no effect. The sub-menu overlay remains open. The only way to close it is to tap outside the overlay.
Environment
- Gutenberg: v22.6.0-rc.1 / rc.2
- Platform: mobile (device/browser details still being gathered)
Additional Context
Related to the Navigation Overlays work landed in #74971.
/cc @sarahn88
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs TestingNeeds further testing to be confirmed.Needs further testing to be confirmed.[Feature] Navigation Overlays[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended