From ee226a0c70ff2fb4919f3c9c8e04f2ec280af7aa Mon Sep 17 00:00:00 2001 From: Daniel Richards Date: Mon, 6 Apr 2020 12:05:42 +0800 Subject: [PATCH] Render the Popover.Slot for the block toolbar to ensure navigation mode works --- .../src/components/menu-editor/block-editor-panel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/edit-navigation/src/components/menu-editor/block-editor-panel.js b/packages/edit-navigation/src/components/menu-editor/block-editor-panel.js index e5d5ded7a3b8c1..54679cfaec2891 100644 --- a/packages/edit-navigation/src/components/menu-editor/block-editor-panel.js +++ b/packages/edit-navigation/src/components/menu-editor/block-editor-panel.js @@ -12,7 +12,7 @@ import { WritingFlow, } from '@wordpress/block-editor'; import { __ } from '@wordpress/i18n'; -import { Button, Panel, PanelBody } from '@wordpress/components'; +import { Button, Panel, PanelBody, Popover } from '@wordpress/components'; export default function BlockEditorPanel( { menuId, saveBlocks } ) { const { clearSelectedBlock } = useDispatch( 'core/block-editor' ); @@ -40,6 +40,7 @@ export default function BlockEditorPanel( { menuId, saveBlocks } ) { > +