Skip to content

Drag and Drop revamp to jQuery drag as-well

Compare
Choose a tag to compare
@kdillon kdillon released this 01 Nov 14:55
· 25 commits to master since this release

A previous release updated the drag command to work for HTML5 drag-drop. Unfortunately, this broke the jQuery drag workflow, but we did not catch the problem until we ran the FuncUnit test-suite. (Clearly a testing hole in Syn, which has now been fixed!)

While fixing jQuery drag-drop, it seemed like a good opportunity to audit the events being generated by jQuery drag-drop and increase the accuracy of event-generation for jQuery drag-drop. We now should be getting all mouse and pointer events for jQuery drag except MouseOut / PointerOut because it happens much earlier in the sequence than I had expected, and I'm not exactly sure when (under which circumstances) we should be triggering it.

Also added a new tests to lock this functionality down.