Skip to content

Commit

Permalink
Marks block selection toggle in ListView as experimental.
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Oct 17, 2022
1 parent 79c69c1 commit a589aaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/list-view/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const BLOCK_LIST_ITEM_HEIGHT = 36;
* @param {Array} props.blocks Custom subset of block client IDs to be used instead of the default hierarchy.
* @param {boolean} props.showBlockMovers Flag to enable block movers
* @param {boolean} props.isExpanded Flag to determine whether nested levels are expanded by default.
* @param {boolean} props.selectBlockInCanvas Flag to determine whether the list view should be a block selection mechanism,.
* @param {boolean} props.__experimentalSelectBlockInCanvas Flag to determine whether the list view should be a block selection mechanism,.
* @param {Object} ref Forwarded ref
*/
function ListView(
Expand All @@ -64,7 +64,7 @@ function ListView(
blocks,
showBlockMovers = false,
isExpanded = false,
selectBlockInCanvas = true,
__experimentalSelectBlockInCanvas: selectBlockInCanvas = true,
},
ref
) {
Expand Down
4 changes: 2 additions & 2 deletions packages/block-library/src/navigation/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ function Navigation( {
<ListView
blocks={ innerBlocks }
isExpanded={ true }
selectBlockInCanvas={ false }
__experimentalSelectBlockInCanvas={ false }
/>
) }
</PanelBody>
Expand Down Expand Up @@ -870,7 +870,7 @@ function Navigation( {
<ListView
blocks={ innerBlocks }
isExpanded={ true }
selectBlockInCanvas={ false }
__experimentalSelectBlockInCanvas={ false }
/>
) }
</PanelBody>
Expand Down

0 comments on commit a589aaa

Please sign in to comment.