diff --git a/packages/block-editor/src/components/global-styles/color-panel.js b/packages/block-editor/src/components/global-styles/color-panel.js index f1a1834967ed92..5d5c02d179307d 100644 --- a/packages/block-editor/src/components/global-styles/color-panel.js +++ b/packages/block-editor/src/components/global-styles/color-panel.js @@ -250,6 +250,9 @@ function ColorPanelDropdown( { icon={ resetIcon } onClick={ () => { resetValue(); + if ( isOpen ) { + onToggle(); + } // Return focus to parent button colorGradientDropdownButtonRef.current?.focus(); } }