angular-calendar icon indicating copy to clipboard operation
angular-calendar copied to clipboard

Drag and drop an event on the same day

Open cosf87 opened this issue 6 years ago • 3 comments

Describe the bug On calendar month view, If you drag an event and drop it on the same day, day click event is fired after drop event. It works fine when you drag and drop an event from one day to another day, because only drop event is fired.

Minimal reproduction of the problem with instructions On 'Kitchen sink' demo, drag and drop an event on the same day

Screenshots

Versions

  • @angular/core: 9.1.2
  • angular-calendar: 0.28.11
  • Browser name and version: Google Chrome 80.0.3987.163

cosf87 avatar Apr 21 '20 10:04 cosf87

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

matts-bot avatar Apr 21 '20 10:04 matts-bot

Thanks for reporting, I will get that fixed up in the next version. As a workaround you can add this to your global apps CSS:

.cal-month-view .cal-cell .cal-event {
  pointer-events: all !important;
}

mattlewis92 avatar Apr 21 '20 11:04 mattlewis92

I just released 0.28.13 with a fix, thanks for reporting! 😄

mattlewis92 avatar May 03 '20 13:05 mattlewis92