Skip to content

Commit

Permalink
Merge pull request #968 from lowcoder-org/fix-kanban-draggable-bug
Browse files Browse the repository at this point in the history
Fix kanban draggable bug
  • Loading branch information
FalkWolsky authored Jun 19, 2024
2 parents fdffe01 + 1c93c74 commit 5a8f5ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/packages/lowcoder/src/layout/gridItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ export function GridItem(props: GridItemProps) {
onDrag={onDrag}
onDragEnd={onDragEnd}
onMouseDown={(e) => {
e.stopPropagation();
if (isDraggable) {
e.stopPropagation();
}
const event = new MouseEvent("mousedown");
document.dispatchEvent(event);
}}
Expand Down

0 comments on commit 5a8f5ba

Please sign in to comment.