Skip to content

Commit 8f89613

Browse files
authored
Merge pull request #132 from easyops-cn/abert/fix-drag-card
fix(): 修复默认模板渲染宽度变化导致按照 layouts 顺序计算每个卡片的x和 y 坐标导致,有卡片互换
2 parents a5f9122 + 4adac35 commit 8f89613

File tree

1 file changed

+1
-0
lines changed
  • bricks/advanced/src/workbench-layout-v2

1 file changed

+1
-0
lines changed

bricks/advanced/src/workbench-layout-v2/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ export const EoWorkbenchLayoutComponent = forwardRef<
420420
isResizable={false}
421421
isDraggable={isEdit}
422422
isDroppable={isEdit}
423+
compactType="vertical"
423424
// onDrag={handleDragCallback}
424425
onDropDragOver={() => {
425426
if (draggingComponentRef.current) {

0 commit comments

Comments
 (0)