Giter Site home page Giter Site logo

IE11 TypeError about treeviz HOT 4 CLOSED

pierrecapo avatar pierrecapo commented on September 22, 2024
IE11 TypeError

from treeviz.

Comments (4)

infinity77 avatar infinity77 commented on September 22, 2024 1

Hi Pierre,

Thank you for your investigation on the matter. I have a backup plan anyway to avoid having to deal with IE, luckily enough there are Python libraries supporting the Chromium interface and Iā€™m going to switch to those.

from treeviz.

PierreCapo avatar PierreCapo commented on September 22, 2024

Hello Andrea,

I'm not an expert on that topic, and I'll need to investigate and spend some time on it. To give you some visibility, I'm a bit busy right now, I will be only able to investigate and find a solution next week only.

If this is urgent, here are my thoughts on the topic if you want to investigate furthermore :

Sorry for delaying the answer, I hope those explanations will help you.

Have a good day.

from treeviz.

infinity77 avatar infinity77 commented on September 22, 2024

Hi Pierre,

looking a bit on the debugging side, it appears that (at least part of) the reason is that the code uses "foreignObject" in two places (packages/treeviz/src/nodes/node-enter.ts and packages/treeviz/src/nodes/node-update.ts), and IE11 does not support foreignObject... do you think there is an alternative to that? I am sorry, I am really a noob when it comes to JavaScript, I have tried to look around on the web but I can't see any viable replacement.

Thank you.

Andrea.

from treeviz.

PierreCapo avatar PierreCapo commented on September 22, 2024

Hello Andrea, I have checked, and indeed, I reach the same conclusion as you. After adding es5 and es6 shim in the index.html file for ie 11 support:

I'm stuck with the setProperty and foreignObject issue. ForeignObject is not supported by IE and can't be polyfilled.
From what I have checked too, there is no straight forward solution, I'm sorry to say that, but seems like treeviz is not and won't be compatible for ie11.

What a nightmare that you have to support ie11 by the way, I feel bad for you.

Sorry not being able to help you on that one. Have a good day!

from treeviz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.