question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[alpha2] drop not firing when dragging between calendars

See original GitHub issue

Drop not firing while draging event from one calendar to another. eventRecieve works while eventLeave doesnt exist in optionsInput. Docs say ‘When dropped, the eventLeave, drop, and eventReceive callbacks will fire.’

Feels like installation version of fc alpha2 over npm is not the same as these one’s here.

this is the config of both calendars header: { left: '', center: '', right: '' }, editable: true, selectable: true, droppable: true, firstDay: 1, slotDuration: { minutes: 15 }, slotLabelInterval: { minutes: 15 }, slotLabelFormat: { hour: 'numeric', minute: '2-digit', omitZeroMinute: false, meridiem: 'short', hour12: false }, allDaySlot: false, columnHeaderFormat: { weekday: 'short', day: 'numeric', month: 'numeric' }, slotEventOverlap: true, displayEventEnd: false, defaultView: 'agendaDay', minTime: { hours: 6, minutes: 0 }, maxTime: { hours: 22, minutes: 0 }, dragScroll: true, nowIndicator: true, handleWindowResize: true, timeZone: 'local', navLinks: true, weekNumbers: true, height: 'auto', eventSources: [ this.eventList ], drop: (dropInfo) => { console.log('drop'); console.log(dropInfo); }, eventReceive: (info) => { this.calService.modifyActionPointDateOnDragDropWithDifferentOwner(info); }

Interesting enough, when external element is dropped to calendar , drop callback fires, but from calendar to calendar not.

Inspecting fullcalendar.d.ts for drop and eventReceive shows this below, while the arguments are totally different in the fullcalendar.js. eventLeave doesnt exist in fullcalendar.d.ts. I do have latest version of fullcalendar.d.ts

drop?(arg: { date: DateInput; allDay: boolean; jsEvent: MouseEvent; }): void; eventReceive?(event: EventApi): void;

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
arshawcommented, Jan 11, 2019

this has been addressed and released in 4.0.0-alpha.4

drop now fires in this circumstance

1reaction
arshawcommented, Jan 1, 2019

the problem with drop not firing in this scenario has been fixed: fd3e878202668e5df6167c875897acbe89a04073 (in the v4 branch)

I’ll comment on this issue again when released

Read more comments on GitHub >

github_iconTop Results From Across the Web

dragging and dropping date not working right in fullcalendar
1 Answer 1 · no..actually my event date should editable. · my condition is drag and drop if drop on date > current...
Read more >
react-big-calendar: Drag-and-drop events between months
This example illustrates that react-big-calendar doesn't allow events to be dragged from one month to another. Today, you can only drag and drop...
Read more >
Calendar No Longer Allowing Drag & Drop
Hey all, I use the Outlook.com Calendar all the time, and for the past few (several?) days now, it no longer allows me...
Read more >
Fullcalendar v4.0.0-alpha.4 Release - GitClear
Full-sized drag & drop event calendar ... fix calendar-to-calendar dragging, incorrect triggers and args firing ... manual test for clipping bug.
Read more >
drop - Docs - FullCalendar
Called when an external draggable element or an event from another calendar has been dropped onto the calendar.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found