dragOver and backburner


#1

Hello, I use dragOver event to animate a div but I noticed it is jumpy, it seems to get queued. is there a way to get the dragOver events in real-time or should I resort to jQuery event binding.

Thanks


#2

Can you give more detail about the object that you’ve added the event to and what you’re doing to animate the element?


#3

In my case I am implementing file drag and I want animate a helper element based on the event coordinated. for example ( pseudo code )

App.DroppableView = Ember.View.exted({
 dragEnter: function(){
    App.fileHelperView = Ember.View.create({}).append();
  },
  dragOver: function(e){
    App.fileHelperView.$().css({transition:"translate3d("+e.clientX+","+e.clientY+","1)"});
  }

});


#4

If you can make a JSFiddle and post on Stack Overflow you’d get better support.