diff --git a/packages/edit-navigation/src/components/layout/index.js b/packages/edit-navigation/src/components/layout/index.js index 74acf52d187bca..f0088cf5d5c4a1 100644 --- a/packages/edit-navigation/src/components/layout/index.js +++ b/packages/edit-navigation/src/components/layout/index.js @@ -94,7 +94,7 @@ export default function Layout( { blockEditorSettings } ) { useMenuNotifications( selectedMenuId ); const hasMenus = !! menus?.length; - const hasPermanentSidebar = isLargeViewport && hasMenus; + const hasPermanentSidebar = isLargeViewport && isMenuSelected; const isBlockEditorReady = !! ( hasMenus && @@ -183,14 +183,16 @@ export default function Layout( { blockEditorSettings } ) { ) } /> - + { isMenuSelected && ( + + ) }