Closed denglouhen closed 4 years ago
"cytoscape": "^3.14.1", "cytoscape-expand-collapse": "^3.2.0"
Apparently, there are some code snippets in the extension that aren't supported by IE11 including "append" method. Hence, it's currently not compatible with IE11.
I was able to solve the problem with append
method by using appendChild
method in its place since it was appending only one element.
Solving this problem revealed some other issues though. IE11 lacks support (at least) for arrow functions and Array.from
syntax as well which are used plenty in all i-Vis cytoscape extensions.
I didn't go ahead with the change of append
to appendChild
thereafter.
OK, let's forget about IE 11, not a recent browser anyway.
I just use this extension in my Vue project. My code is
Then the IE11 throws an error 'TypeError: Object does not support "append" attribute or method ..... at module.exports (eval code:394:5) at Anonymous function (eval code:286:9) at Anonymous function (eval code:2219:9) at run (eval code:75:13) at Anonymous function (eval code:92:30) at flush (eval code:18:9)", Symbol()_n.a7vurm6t6lx: undefined, Symbol()_o.a7vurm6t6lx: undefined, Symbol(react.element)_m.a7vurm6t6lx: undefined'.
I removed the '_this.cy.expandCollapse(optionsExpand)' the error is disappered. I want to check whether the demo is working in IE11 but I get a blank page.
So is the current extesion compatible with IE11?