-
-
Notifications
You must be signed in to change notification settings - Fork 876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draggable AllDay events in WeekView unmovable after dragging bottom most event of stacked events #1173
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 |
Updated the issue report with clearer text and gif of bug |
Hey, thanks so much for making such a detailed bug report, I really appreciate it. I will take a look at this next weekend and see if I can find a solution 😄 |
Hey, I'm having an issue that might be related to this. I tried making the allDay Event Bar larger with these css classes:
This way, the drag features stops working with just one allDay event. |
Hey there, I'm so sorry about the delay with getting to this, please give |
Hey Awesome job! argh I should have figured it was just the drop event in the hour grid. |
Describe the Bug
In weekView after drag, the drag feature is frozen until manual browser refresh. This is due to mouse drop actually being off zone (mwlDroppable) after execution of redraw of the #allDayEventsContainer. This is only when dragging the bottom most all-day event in a stack.
Due to error, the draggable functionality no longer works until browser refresh is executed.
Minimal reproduction of the problem with instructions
Super simple to replicate. I only added two stacked draggable allDay events to demo code.
https://stackblitz.com/edit/angular-16bn3j
Header drag error - When any all-day event is accidentally dragged in to the header and dropped, the event start/end time is changed. The start becomes the dropped date, and the end is null . Not sure if this is a feature or error.
Timeslot drag error - Similarly when an all-day event is accidentally dragged to mwl-calendar-week-view-hour-segment area of another day, the event end date is set to null. and this is done on the dragEnter state... so if you drag back to the all-day area, it still sets end time as null.
Toast - if you put a toast above the calendar, thus re-positioning the calendar temporarily, drag is not enabled until post disapprears.
Versions
current
I tried various versions of angular-draggable-droppable it is not related to that.
The text was updated successfully, but these errors were encountered: