Drag&drop + visibility corner case

View: New views
1 Messages — Rating Filter:   Alert me  

Drag&drop + visibility corner case

by Bugzilla from lorgandon@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Heya,

I just did a small writeup in my blog (
http://www.algorithm.co.il/blogs/index.php/programming/mochikit-dragdrop-corner-case/
) about a corner case I encountered while using Mochikit.
The corner case happened when a dragged element with a snap function
parameter loses visibility. When that happens, the coordinates the
snap function receives may be badly defined. My workaround was forcing
the element's visibility in the Draggable's starteffect and endeffect
options.
I hope this helps anyone else who gets stuck on a similar issue.

Cheers,
Imri

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MochiKit" group.
To post to this group, send email to mochikit@...
To unsubscribe from this group, send email to mochikit+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---