Discussion:
Drag&drop + visibility corner case
Imri Goldberg
2009-02-27 14:35:01 UTC
Permalink
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 ***@googlegroups.com
To unsubscribe from this group, send email to mochikit+***@googlegroups.com
For more options, visit this group at http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Loading...