Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 42c616b

Browse files
fix: avoid destroying mouseDown event specifically for kanban component
1 parent 0fef66b commit 42c616b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ export function GridItem(props: GridItemProps) {
141141
onDrag={onDrag}
142142
onDragEnd={onDragEnd}
143143
onMouseDown={(e) => {
144+
// allow mouseDown event on kanban comp to make drag/drop work
145+
if((props.compType as string).includes('lowcoder-comp-kanban')) return;
146+
144147
e.stopPropagation();
145148
const event = new MouseEvent("mousedown");
146149
document.dispatchEvent(event);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /