I'm trying to integrate zoom and drag behavior with my D3 force layout. zoom in out working fine, and also dragging individual node are doing good. but when im trying to drag the entire layout on zoom-out, it just goes crazy and flies out from the view (just disappearing).
tried to fined some answeres here but seems that everything is pretty old. ppl had the same issue before, but the solutions that where suggested to them (and worked !!) dosnt cut it out for me.
so heres my fiddle : https://stackblitz.com/edit/react-saqrv9?file=src%2Fgraph.tsx
thanks !