From 90a5dab9eed8413fc1920b7b9f5879f5cc334471 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Tue, 6 Mar 2018 16:16:40 -0500 Subject: [PATCH] Block List: Remove pointer handling of onSelect Can now rely on focus behavior captured from wrapper node to reflect selection onto blocks, even those without their own focusable elements --- editor/components/block-list/block.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/editor/components/block-list/block.js b/editor/components/block-list/block.js index 18cc58e99ba48e..c4f24cbd8ea28d 100644 --- a/editor/components/block-list/block.js +++ b/editor/components/block-list/block.js @@ -417,10 +417,6 @@ export class BlockListBlock extends Component { } } else { this.props.onSelectionStart( this.props.uid ); - - if ( ! this.props.isSelected ) { - this.props.onSelect(); - } } }