We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40501ce commit 6b4b4beCopy full SHA for 6b4b4be
src/PlotlyComponent.js
@@ -43,6 +43,10 @@ var PlotlyComponent = React.createClass({
43
},
44
45
componentWillUnmount: function() {
46
+ //Remove some cruft left behind by plotly
47
+ var cruft = document.getElementById("js-plotly-tester");
48
+ cruft.parentNode.removeChild(cruft);
49
+
50
this.container.removeAllListeners('plotly_click');
51
this.container.removeAllListeners('plotly_beforehover');
52
this.container.removeAllListeners('plotly_hover');
0 commit comments