jquery-week-calendar icon indicating copy to clipboard operation
jquery-week-calendar copied to clipboard

Dropping event above another event cuts it's height (time length) even though it is not resizable.

Open fgeorgsson opened this issue 13 years ago • 3 comments

If I drop an event that is say 1 hour above another event, for example 30 minutes before it, the dropped event will be cut from 1 hour to 30 minutes (the available time before the colliding event). This happens even though I have set resizable to always return false. allowCalEventOverlap is false as well. overlapEventsSeparate does not make any difference either true/false.

I would expect the dropped event to either go entirely above or entirely below the colliding event since the event cannot be resized.

Screenshot http://min.us/mvb2cLh

Thanks for a great jquery plugin!

fgeorgsson avatar Jun 14 '11 09:06 fgeorgsson

This happened to me also. My quick solution (not the best one but the simplest) was to force the dragged event to the previous position every time it colided with another event.

If someone finds a "real" solution please let me know.

jorgeacurcio avatar Sep 09 '11 16:09 jorgeacurcio

Hi,

I did not manage to reproduce the bug, is it still present? If yes, could you create a jsfiddle so that I can easily see it?

Thanks for reporting the issue, Kévin

K-Phoen avatar Apr 27 '12 12:04 K-Phoen

I managed to reproduce the bug and I agree with you, the event duration should not be truncated. I'll work on a fix.

K-Phoen avatar Apr 27 '12 14:04 K-Phoen