clientside/amplesdk — Issue #106: dragenter event is not fired
Author: tedbeer
Created: 2011-11-07 17:22:43+00:00
State: open

If two drop targets have same size and position dragEnter (maybe other events) is not fired for the actual target:

Here, for example, dragEvent is not fired for LI:
`

aaa

`

Make sure UL has no margins/paddings/borders. Only in this case AmpleSDK fails to find the correct target.
It happened that I've used UL for one sort of DnD operations - to reorder LI elements. And LI - for another DnD interaction.
I spent hours to find why DnD works for 2 LI elements and does not work for one.

PS. see also a test here - http://tedbeer.net/test/dnd.html