Closed JanHuege closed 1 year ago
Are there any issues like this known? We are using react to draw the chart into a div via a ref (see https://stackblitz.com/edit/d3-org-chart-react-integration-hooks?file=index.js)
We are updating the data displayed thus the component rerenders and the described behavior happens.
If it is hard to understand this way, I will try to provide a minimal reproduction next week.
Okay found it. Problem was the chart being defines outside of a react component.
Are there any issues like this known? We are using react to draw the chart into a div via a ref (see https://stackblitz.com/edit/d3-org-chart-react-integration-hooks?file=index.js)
We are updating the data displayed thus the component rerenders and the described behavior happens.
If it is hard to understand this way, I will try to provide a minimal reproduction next week.