Skip to content

Commit

Permalink
Block List: Remove pointer handling of onSelect
Browse files Browse the repository at this point in the history
Can now rely on focus behavior captured from wrapper node to reflect selection onto blocks, even those without their own focusable elements
  • Loading branch information
aduth committed Mar 6, 2018
1 parent 4a85e23 commit 90a5dab
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions editor/components/block-list/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,10 +417,6 @@ export class BlockListBlock extends Component {
}
} else {
this.props.onSelectionStart( this.props.uid );

if ( ! this.props.isSelected ) {
this.props.onSelect();
}
}
}

Expand Down

0 comments on commit 90a5dab

Please sign in to comment.