leap-cursor-library.js icon indicating copy to clipboard operation
leap-cursor-library.js copied to clipboard

Ext 4 Drag/Drop

Open pherris opened this issue 10 years ago • 1 comments

Hi there, first off thanks for the library. I am trying to use it to replace the mouse in a drag/drop grid based on Ext 4.2.2. The issue (I believe) is that Ext creates a ghost DOM element that is dragged, however this Library is still referencing the original DOM element. When the pointer moves off of the original element, the ghost element is dropped (after a small timeout).

I believe the DOM element is set in Cursor.prototype.onElementOver (this.setElement...) - can you please help me figure out how to update Leap with the ghost version of the element after it 'grabs' the original DOM element?

If you give me a few pointers I can work on a pull request (if necessary).

Thanks!

pherris avatar Jul 02 '14 01:07 pherris

Oh man! Well I haven't gotten back to this in a while and I certainly am not a master with Ext Drag/Drop grid. I will need to setup a test project and see how this all works out.

This doesn't sound like it would be too crazy if all we need to do is swap the target out, Just gonna take some time before I can focus on it

aphex avatar Jul 18 '14 04:07 aphex