Moritz Klack

Results 440 comments of Moritz Klack
trafficstars

did you try to mock it `document.elementFromPoint = (): null => null;` ?

It seems that React Flow doesn't work well with Jest. We have to look into this again and maybe improve docs.

@matttk thanks for the update here. We will check again if there is a way to solve this.

Unfortunately nothing new here. Would be super nice if PR https://github.com/d3/d3-drag/pull/90 by @penx would be merged.

Hey! Normally no forced re-render is required. Do you get any logs in the dev tools? Are you able to reproduce this within a codesandbox https://new.reactflow.dev/react-ts ?

It seems that some edges can't be created because the nodes are not rendered yet. Could you try to wrap your `setEdges` function with a `setTimeout` or a `requestAnimationFrame` to...

great that you could solve this! I will leave this issue open as a reminder. Maybe we can improve the internals a bit so that you can get rid of...