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.

Error: onDrag called before onDragStart

See original GitHub issue

Sometimes Error: onDrag called before onDragStart is fired if you drop an item on top of another.

Screenshot from 2021-04-18 14-36-58

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:11

github_iconTop GitHub Comments

1reaction
FiadhMccommented, Oct 19, 2022

Thanks so much, I had low expectations of getting any reply, never mind an actual solution!

1reaction
pabloiea1995commented, Jul 22, 2021

Having same issue, any updates?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: onDrag called before onDragStart. #12152 - GitHub
When trying to move a graph panel, the browser console display an error : Error: onDrag called before onDragStart. The problem appear just...
Read more >
Javascript ondrag, ondragstart, ondragend - Stack Overflow
I haven't used drag myself much but I believe it's the drag "edit action" - eg selecting text and dragging it within a...
Read more >
ondragstart Event - W3Schools
The ondragstart event occurs when the user starts to drag an element or a text selection. Drag and drop is a common feature...
Read more >
JavaScript Event Handlers: ondragstart and ondrop
They're triggered by various things like inputs being entered, forms being submitted, changes in an element like resizing, or errors that…
Read more >
React-grid-layout double mounting - JSFiddle - JSFiddle
setState({dragging:i});break;case"onDrag":if(!e.state.dragging)throw new Error("onDrag called before onDragStart.");i.left=e.state.dragging.left+a.
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