Questions tagged [dragenter]

11 questions
6
votes
3 answers

jQuery dragenter event is fired on every child

I have bound dragenter event on an object that contains some children. $(document).on('dragenter', '#container', function(e) { console.log('dragenter'); }); When I move with dragged file around them, this event is firing repeatedly. What I have…
hsz
  • 148,279
  • 62
  • 259
  • 315
3
votes
2 answers

DragDrop and DragEnter firing twice

I have the following code in which I am attempting to implement a drag and drop functionality: public Location_Alert() { InitializeComponent(); #region Form Initialization Recur_Txt.Text = "1"; End_Date.Value =…
Jacrys
  • 692
  • 1
  • 7
  • 20
3
votes
1 answer

Firefox bug, drag events give dataTransfer.files = null, defined in all other browsers

Here is a jsfiddle of the exact problem. For me the 'dragenter' event dataTransfer.files is defined correctly in everything but Firefox. However, the 'drop' event always has the correct dataTransfer.files, even in Firefox. Not sure if this is a…
Dan0
  • 459
  • 3
  • 16
2
votes
0 answers

D3 support for dragenter and dragleave events

It seems that D3.drag supports drag but not "drop" i.e. it does not support detecting dragenter, dragleave and dragover events. I can get object created by D3 to listen to these events but cannot make a D3 object draggable not access the drag event…
1
vote
1 answer

VUE 3 dragenter and dragleave being mistakenly invoked on child elements

I am implementing a behavior with dragenter and dragleave in VUE 3, although I am putting the event in the parent element it is being called when internally in all the child elements and I only need to call it in the parent. This is an example of…
1
vote
2 answers

DragEnter and DragDrop events not FIRING in treeview

I need to do drag and drop using treeview in c#.For that i heard 3 events are the most common 1.itemDrag 2.DragDrop and 3.DragEnter. whereas here itemDrag event is firing for me while dragging from a treeview ,but rest both the events are not firing…
Dah Sra
  • 4,107
  • 3
  • 30
  • 69
1
vote
1 answer

Firing drag enter event many times in Firefox

I have a problem with drag enter event on Firefox, The browser is firing this event multiple times when the mouse is still moving on the dropping area. when the dragged item is enter the dropping area, The event will fired for the first time, also…
Muhamad Serawan
  • 445
  • 5
  • 16
1
vote
0 answers

Drage Event in android error

I am using DrageEvent and TouchEvent on Custom Build View in andriod.. TouchEvent in running absolutely well.. But DrageEvent has error.. i want to get Xand Y axis on ACTION_DROP.. but only few part of imageView,when i drop in that portion…
1
vote
1 answer

TouchDragEnter into a UIButton

Is it possible to TouchDown outside a uibutton and then dragInside another UIButton with the UIEventTouchDragEnter or something like that? I need help with the code. I tried it with imageView but i would appreciate a solutions with buttons! Thank…
Franhu
  • 63
  • 1
  • 6
0
votes
1 answer

Is it possible to get the filename in dragover or dragenter event?

I'm creating a Dropzone component. I would like to make my
red when the user tries to drag and drop an invalid file type. Currently through dragstart event I can get the MimeType of the file, but I can't get the file name or extension. The…
Eduardo Mior
  • 156
  • 2
  • 10
0
votes
2 answers

WPF DragEnter between two Canvas not firing

I am trying to drag an item from one Canvas to another. I want an event to fire when the object enters the other Canvas. None of the Drag events seem to fire. I have tried following the solution for this question, but it does not work for me: Drag…