Angular-calendar: Event sometimes disappear on drag and drop

Created on 1 Oct 2020  路  5Comments  路  Source: mattlewis92/angular-calendar

Describe the bug

Event sometimes disappear on wrong executed (very small and no time slot change) drag and drop. The event appears again when clicking on another element of the page (Today etc.).

Reproduced on the demo:

Oct-01-2020 07-58-58

bug

All 5 comments

Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider sponsoring me

I also experience the issue, mostly at the first interaction after component has been rendered.

So far I couldnt investigate the problem, however in my case both resize and click events are bound (eventTimesChanged)="onEventDrop($event)" (eventClicked)="onEventSelect($event)" and I noticed that the disappearing issue (which includes also missing the custom cell styles I define through (beforeViewRender)="beforeViewRender($event)") only happens when the eventTimesChanged is triggered instead of the eventClicked. I have to say that im pretty careful of not moving the mouse while clicking to avoid dragging between mousedown and mouseup

Thanks for reporting, I can reproduce, I will do my best to get that fixed up in the next version! 馃槃

That was not a fun one to debug haha. Should be fixed now in 0.28.22, thanks for reporting! 馃槃

Thanks a lot for the fix!

Was this page helpful?
0 / 5 - 0 ratings