pragmatic-drag-and-drop icon indicating copy to clipboard operation
pragmatic-drag-and-drop copied to clipboard

drag preview entering other element not triggering 'onDragEnter'

Open ivanjeremic opened this issue 9 months ago • 1 comments

When the drag preview enters an other element even a little bit I expect the element to fire onDragEnter even with it's data, this is currently not working what am I doing wrong or missing?

ivanjeremic avatar Feb 17 '25 21:02 ivanjeremic

Hey @ivanjeremic in Pragmatic drag and drop we rely on the browser to tell us when you are over an element. The browser only considers you to be 'over' the element if your mouse/pointer is over it, it does not consider the drag preview.

Are you seeing onDragEnter fire if you move your mouse over the element?

declan-warn avatar Feb 19 '25 06:02 declan-warn