Movatterモバイル変換


[0]ホーム

URL:


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

Commit88d6b5a

Browse files
allow mouseDown event for lowcoder-comp-excalidraw
1 parent238163d commit88d6b5a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,12 @@ export function GridItem(props: GridItemProps) {
141141
onDrag={onDrag}
142142
onDragEnd={onDragEnd}
143143
onMouseDown={(e)=>{
144-
// allow mouseDown event onkanbancomp to make drag/drop work
144+
// allow mouseDown event onlowcoder-comp-kanban to make drag/drop work
145145
if((props.compTypeasstring).includes('lowcoder-comp-kanban'))return;
146146

147+
// allow mouseDown event on lowcoder-comp-excalidraw to make drag/drop work
148+
if((props.compTypeasstring).includes('lowcoder-comp-excalidraw'))return;
149+
147150
e.stopPropagation();
148151
constevent=newMouseEvent("mousedown");
149152
document.dispatchEvent(event);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp