Skip to content

Commit 273da09

Browse files
authored
Editor: Stop re-rendering all blocks when navigating with arrow keys (#11397)
1 parent 3a59842 commit 273da09

File tree

1 file changed

+1
-1
lines changed
  • packages/editor/src/components/block-list

1 file changed

+1
-1
lines changed

packages/editor/src/components/block-list/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export default compose( [
229229
blockClientIds: getBlockOrder( rootClientId ),
230230
selectionStart: getMultiSelectedBlocksStartClientId(),
231231
selectionEnd: getMultiSelectedBlocksEndClientId(),
232-
selectionStartClientId: getBlockSelectionStart(),
232+
selectionStartClientId: isSelectionEnabled() && getBlockSelectionStart(),
233233
isSelectionEnabled: isSelectionEnabled(),
234234
isMultiSelecting: isMultiSelecting(),
235235
};

0 commit comments

Comments
 (0)