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

Commit3a00b21

Browse files
fix drag/drop event triggers
1 parent3d1e09e commit3a00b21

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎client/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ let CalendarBasicComp = (function () {
845845
updateEventsOnDragOrResize(eventInfo.event);
846846

847847
if(typeofprops.onDropEvent==='function'){
848-
props.onDropEvent("dropEvent");
848+
props.onDropEvent("drop");
849849
}
850850
},[props.onDropEvent,updateEventsOnDragOrResize]);
851851

@@ -959,6 +959,11 @@ let CalendarBasicComp = (function () {
959959
props.onEvent("change");
960960
}
961961
}}
962+
eventDragStart={()=>{
963+
if(typeofprops.onDropEvent==='function'){
964+
props.onDropEvent("drag");
965+
}
966+
}}
962967
eventDrop={handleDrop}
963968
eventResize={handleResize}
964969
/>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp