plotly.js: plots in plotly.js tutorial docs not displaying in Internet Explorer 11
This issue is specific only to the plots in CodePen
.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (6 by maintainers)
This issue is specific only to the plots in CodePen
.
This seems to be the offender: https://github.com/plotly/plotly.js/blob/0124828f061cc1483bf09781c81c12050971bc62/src/lib/index.js#L716
@alexcjohnson Yeah, your comment still makes sense for me if you check that you use IE 11 beforehand 😸. The if-block was for skipping every element that has .remove() naturally, right? So if I just check once if I’m looking at IE 11 or not I can skip the whole iteration beforehand for everything but IE 11. 😼
(BTW thanks @Braintelligence for tracking down the broken feature) Modify that polyfill to always overwrite, and trace its calls, and you can see whenever
node.remove
is called in any browser:Perhaps we can build that into our tests, with a
throw
instead of aconsole.trace
, to ensure we never usenode.remove
?