question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Drop event on `useDrop` not triggering

See original GitHub issue

Describe the bug I’m trying to implement react-dnd with HTML5Backend in my project, first I tried to implement it manually and then used exact same code from the react-dnd example link. but drop event is not triggering, even hover is triggering and consoled monitor.canDrop() it returned true.

Desktop:

  • OS: Windows 10
  • Browser Edge Chromium
  • Version 83.0.478.37
  • React DND Version 11.0.0

Edit: Also tried it on Google Chrome V 81.0.4044.138

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
dbushellcommented, May 26, 2020

ok thanks! That’s given me something to investigate.

0reactions
hafeez1042commented, May 26, 2020

FYI: I was using Microsoft Sharepoint workbench for development

Read more comments on GitHub >

github_iconTop Results From Across the Web

React DND drop event on `useDrop` not triggering
My project was running on a sharepoint environment, the issue was related to its parent container preventing the drop event, ...
Read more >
useDrop - React DnD
The useDrop hook provides a way for you to wire in your component into the DnD ... This function returns an array containing...
Read more >
React Dnd Drop Event On Usedrop Not Triggering - ADocLib
React Dnd Drop Event On Usedrop Not Triggering. Let's start by creating some Grid components to hold our images. I based the styles...
Read more >
Meme Overflow в Twitter: „React DND drop event on `useDrop` not ...
React DND drop event on `useDrop` not triggering https://stackoverflow.com/questions/62005593/806889… #reactjs #reactdnd #javascript #draganddrop.
Read more >
HTMLElement: drop event - Web APIs | MDN
The drop event is fired when an element or text selection is dropped on a valid drop target.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found