Skip to content

Commit

Permalink
Fix positioning and layering
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewserong committed Aug 23, 2023
1 parent 51d787d commit 162ddab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/block-editor/src/components/block-draggable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import useScrollWhenDragging from './use-scroll-when-dragging';
import { store as blockEditorStore } from '../../store';

const BlockDraggable = ( {
appendToOwnerDocument,
children,
clientIds,
cloneClassname,
Expand Down Expand Up @@ -75,6 +76,7 @@ const BlockDraggable = ( {

return (
<Draggable
appendToOwnerDocument={ appendToOwnerDocument }
cloneClassname={ cloneClassname }
__experimentalTransferDataType="wp-blocks"
transferData={ transferData }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const ListViewBlockContents = forwardRef(
/>
) }
<BlockDraggable
appendToOwnerDocument
clientIds={ draggableClientIds }
__experimentalDragComponent={ null }
elementId={ `list-view-${ listViewInstanceId }-block-${ clientId }` }
Expand Down
1 change: 0 additions & 1 deletion packages/block-editor/src/components/list-view/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@
}

&[id^="clone-"] {
position: relative;
align-items: center;
display: flex;
height: 36px;
Expand Down

0 comments on commit 162ddab

Please sign in to comment.