# DropTarget triggers when dragging item already in DOM

**URL:** <https://community.transloadit.com/t/droptarget-triggers-when-dragging-item-already-in-dom/15861>\
**Category:** Uppy\
**Created:** [October 13, 2021, 4:55am UTC](https://community.transloadit.com/t/droptarget-triggers-when-dragging-item-already-in-dom/15861 "2021-10-13T04:55:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjau-mjau](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/mjau-mjau/32/483_2.png) [@mjau-mjau](https://community.transloadit.com/u/mjau-mjau)\
**Post date:** [October 13, 2021, 4:55am UTC](https://community.transloadit.com/t/droptarget-triggers-when-dragging-item-already-in-dom/15861/1 "2021-10-13T04:55:16Z")

</div>

Basically one would use DropTarget plugin for dropping local files into browser window / dom element, right? I see that DropTarget onDrop(event) also triggers when dragging items already in the DOM, which would in most circumstances be undesirable behavior. I checked the event emitted from onDrop(event), but this contains no info about what was dropped.

Is there any way around this? It’s not unusual that visitor might mistakingly/unconsciously drag an existing dom item a few px on screen, and it’s simply “wrong” that this then triggers uppy onDrop(event). THNX
