Hey,
> I'm trying to provide visual cues in my ui about potential drop targets by
> growing items/changing background color during a drag.
> So I enable the effect from dragover, and disable it from dragleave.
> 
> My main issue at this point is that when drag is cancelled with for instance
> the escape key the dragleave event is not fired.
> 
> Is there a better way to achieve this effect? Is this a bug or did I
> overlook another appropriate drag-related event?

Use the 'dragend' event to change the color back to what it was. This event 
will be fired on pressing escape too.

Regards,
Martin
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to