Open diegocgaona opened 2 years ago
This seems to be to some extent a react-frappe-charts
issue as well. See https://github.com/sheshbabu/react-frappe-charts/issues/34
But the issue is that even with the patch in that issue this reproduces sometimes. So maybe we need a fix in frappe as well.
im using frappe-charts@1.6.2 and facing this as well
would be nice to check if the svg is indeed child of the container
Expected Behaviour
Chart rendered
Actual Behaviour
NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
Steps to Reproduce:
When I try to access a page with a chart, it occurs (not always, but almost always) I'm using the last version (from yarn), with the react wrapper in a project with Reac-Admin.
Some of my code:
In the page (it's inside Box and Cards from material-ui or tabs from React-Admin)
I saw one old issue about it, but to me still ocurring. And I say this PR https://github.com/frappe/charts/pull/347 which seems related.
NOTE: Add a GIF/Screenshot if required.![image](https://user-images.githubusercontent.com/9142126/142490047-173c733f-1875-4b87-a58e-ac5336a11835.png)
Frappé Charts version: Codepen / Codesandbox: