Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
List View support: Navigate back to top-level list
  • Loading branch information
talldan committed Feb 3, 2026
commit 3905d9a95eb05800ffad7d683552aa6c661e3a90
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/block-card/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ function BlockCard( {
const { getBlockParents, getBlockName } =
select( blockEditorStore );

// Find the closest parent block that is either:
// Find the top-most parent block that is either:
// 1. A navigation block (special case for ad-hoc list view support)
// 2. Any block with listView support
const parents = getBlockParents( clientId, true );
const parents = getBlockParents( clientId, false );
const foundParentId = parents.find( ( parentId ) => {
const parentName = getBlockName( parentId );
return (
Expand Down