Navigation menu missing default items #18169
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Describe the bug
Inserting a second menu in a page results in an empty block, even though there are top level pages available in the site.
To reproduce
Steps to reproduce the behavior:
Expected behavior
Any newly added navigation menu should contain all the available top level pages as default menu items.
Additional context
I have investigated the issue by some olde cut/paste debugging and identified that the source of the problem is visible when using the new
useBlockNavigator
specifically this part of it:Simply not using the
getBlock( clientId )
allows the pages to show.It may be a cache issue as
getBlock
is a cached selector and it may be thatNavigationMenu
edit component is having something implemented wrong, I don't know which.I hope my investigation helps @talldan
The text was updated successfully, but these errors were encountered: