From 76e58ed40f0d932753b02f940cb045f51f5a8b85 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Thu, 19 May 2022 16:11:44 +0200 Subject: [PATCH] Prevent text input focus when selecting Shortcode block --- packages/block-library/src/shortcode/edit.native.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/block-library/src/shortcode/edit.native.js b/packages/block-library/src/shortcode/edit.native.js index e9c9f193f3499..044ad1d23877f 100644 --- a/packages/block-library/src/shortcode/edit.native.js +++ b/packages/block-library/src/shortcode/edit.native.js @@ -62,7 +62,6 @@ export function ShortcodeEdit( props ) { style={ shortcodeStyle } onChange={ onChange } placeholder={ __( 'Add a shortcode…' ) } - isSelected={ props.isSelected } onFocus={ onFocus } onBlur={ onBlur } placeholderTextColor={ placeholderStyle.color }