My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 925: Forgetting mouseover after non-changing drag/drop
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  May 2011


Sign in to add a comment
 
Reported by tpwal...@gmail.com, Apr 21, 2011
Steps to reproduce:
 1) Add an eventMouseover function that performs some visible change on the event (e.g. change the background-color)
 2) Add a non-all day, editable event of at least 30 minutes duration
 3) Drag the event away from its specified time then drop back onto original specified time - NOTE: this is one operation, the drop should be associated with the initial drag.

What I expect:
The eventMouseover function should still fire when I mouseover the event

What I get:
The eventMouseover function does not fire

System details:
FullCalendar v 1.5.1
jQuery v 1.4.4
jQuery UI v 1.8.10.custom
Windows
ASP.NET MVC
FireFox v 4.0
May 8, 2011
Project Member #1 adamrs...@gmail.com
maybe i'm having trouble reproducing, or maybe i dont understand...

when you drag the event away, and then drop it back, if your mouse was over the event the entire time during the drag, there would be no second eventMouseover. this is expected behavior.

the reason the eventMouseover sometimes fires twice (when the event's date IS changed) is due to the fact that the element needs to be rerendered. i would not rely on this behavior.

sound like your best solution is to reverse the effects of the eventMouseover during an eventMouseout event.
Status: Done
May 9, 2011
#2 tpwal...@gmail.com
Try initiating a drag on the event, but not letting go of the mouse until the event is back in its original time slot. The eventDrop event should not fire in this operation. The eventMouseout and eventMouseover events are no longer attached to the event. It seems as if the calendar performs a rerender, but with no net change in the event start date/time or duration.
Sign in to add a comment

Powered by Google Project Hosting