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.

onEdgeUpdate crashes when using CustomEdge and loose connectionMode

See original GitHub issue

So I am not sure if it is an issue with my setup but if I set the connectionMode to loose and try to drag the edge from one node to another I get the following issue:

Screen Shot 2021-03-09 at 9 13 21 AM

It is occurring because the connectionHandleType for target is a null array. I think it should be an empty array instead.

Screen Shot 2021-03-09 at 9 12 56 AM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
moklickcommented, Mar 9, 2021

I should have read the title of this issue more carefully 😉 It’s about the onEdgeUpdate… I will check that. It seems like a bug.

1reaction
obaidcommented, Mar 9, 2021

Yes, and I found the issue is fixed by using useUpdateNodeInternals … so going to close this one 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

onEdgeUpdate crashes when using CustomEdge and loose ...
onEdgeUpdate crashes when using CustomEdge and loose connectionMode - TypeScript react-flow. So I am not sure if it is an issue with my...
Read more >
Fix Illustrator crash issues
Unable to open Illustrator? Illustrator crashing or freezing? We're here to help!
Read more >
Outlook crashes or stops responding when used with Office ...
This article describes how to troubleshoot Microsoft Outlook when it's used together with Microsoft 365 and: Outlook stops responding (hangs).
Read more >
Random crashes while launching or working in Fusion 360
The program closes unexpectedly with no error report. The recovery files are almost never available. Fusion 360 suddenly crashes the ...
Read more >
Crashes and issues
Data about your current browsing session including open tabs, location on the page, form data, etc. Extension Cookies, Cookies associated with your installed ......
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