Skip to content

Commit 5a8f5ba

Browse files
authored
Merge pull request #968 from lowcoder-org/fix-kanban-draggable-bug
Fix kanban draggable bug
2 parents fdffe01 + 1c93c74 commit 5a8f5ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/packages/lowcoder/src/layout/gridItem.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ export function GridItem(props: GridItemProps) {
141141
onDrag={onDrag}
142142
onDragEnd={onDragEnd}
143143
onMouseDown={(e) => {
144-
e.stopPropagation();
144+
if (isDraggable) {
145+
e.stopPropagation();
146+
}
145147
const event = new MouseEvent("mousedown");
146148
document.dispatchEvent(event);
147149
}}

0 commit comments

Comments
 (0)