From 84233670a9b219e4dad7326055ba1672dd485a9e Mon Sep 17 00:00:00 2001 From: George Mamadashvili Date: Sat, 22 May 2021 10:14:44 +0400 Subject: [PATCH] Fix visual glitch --- packages/edit-navigation/src/components/layout/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-navigation/src/components/layout/index.js b/packages/edit-navigation/src/components/layout/index.js index cf5979d40f2fa2..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 &&