gllona / lib-gg-orgchart

Javascript Organizational Chart Drawing Library
http://librerias.logicas.org/lib_gg_orgchart
Other
54 stars 21 forks source link

Unable to get property 'nodeType' of undefined or null reference on IE 11 (Edge Mode) #9

Open seroche opened 9 years ago

seroche commented 9 years ago

Hello,

I think there is a compatibility issue between the drag-on library and IE11 (edge Mode). If I run the example 2 / rendering 4 with IE11, I get a JS error saying: Unable to get property 'nodeType' of undefined or null reference in scrollParent : function(Sto) { while ((Sto[0].nodeType != 1 || Sto.css('overflow')=='visible') || Sto.data('overflow')=='no-dragon' && S[0]!=Sto[0] ) Sto=Sto.parent(); return Sto; },

I don't get this error with chrome :).

Is there an easy way to fix this error?

Thank you, Sebastien

gllona commented 9 years ago

Hello Sebastien,

No, I think that there is not an easy way, at least not for now.

I'll take soon a week or two for a complete recoding of the library. As for now, I have lots of improvements ideas that can't be implemented because the code is not so good (so much coupling inside).

I'll take into account your issue for my task.

Regards.

Gorka G LLona

Email: gllona@gmail.com Phone/WhatsApp: +593 0 9988 72340 Skype: gllona Voice IP call: gllona@ekiga.net Web: http://desarrolladores.logicos.org/gorka

Blog: http://gorka.club

Para intercambiar emails encriptados (sin posibilidad de lectura por terceros) contáctame directamente. In order to exchange encrypted emails (no chance of reading for third-parties) please contact me. O descarga directamente mi clave pública PGP/GPG: Or directly download my PGP/GPG public key: ID 0x31944392 de/at http://pgpkeys.mit.edu o/or

https://sks-keyservers.net/i/#extract

<< We are all slaves of time >> (GG)

On 27/05/15 22:02, seroche wrote:

Hello,

I think there is a compatibility issue between the drag-on library and IE11 (edge Mode). If I run the example 2 / rendering 4 with IE11, I get a JS error saying: Unable to get property 'nodeType' of undefined or null reference in scrollParent : function(Sto) { while ((Sto[0].nodeType != 1 || Sto.css('overflow')=='visible') || Sto.data('overflow')=='no-dragon' && S[0]!=Sto[0] ) Sto=Sto.parent(); return Sto; },

I don't get this error with chrome :).

Is there an easy way to fix this error?

Thank you, Sebastien

— Reply to this email directly or view it on GitHub https://github.com/gllona/lib-gg-orgchart/issues/9.

ghost commented 8 years ago

Hi, I have the same problem with Opera. Can you please try solve this? Driving me nuts seeing this message everytime drag the orgchart... kk

gllona commented 8 years ago

Hello Sebastien,

I'm very busy moving from Ecuador to Spain. Pleas wait a couple of weeks so I can review your issue.

Regards,

-Gorka

On 27 May 2015 at 22:02, seroche notifications@github.com wrote:

Hello,

I think there is a compatibility issue between the drag-on library and IE11 (edge Mode). If I run the example 2 / rendering 4 with IE11, I get a JS error saying: Unable to get property 'nodeType' of undefined or null reference in scrollParent : function(Sto) { while ((Sto[0].nodeType != 1 || Sto.css('overflow')=='visible') || Sto.data('overflow')=='no-dragon' && S[0]!=Sto[0] ) Sto=Sto.parent(); return Sto; },

I don't get this error with chrome :).

Is there an easy way to fix this error?

Thank you, Sebastien

— Reply to this email directly or view it on GitHub https://github.com/gllona/lib-gg-orgchart/issues/9.