Closed saqibomer closed 5 years ago
Hard to say why.
Perhaps if you share a jsfiddle but I suspect that there is something invalid in your HTML and chrome is less strict.
Added jsfiddle link
Hi!
I have had a look at your code and it's hard for me to figure exactly what's wrong. My best suggestion is using the library directly (without hacking the dTree source code) with the callbacks. Then successively adding more adding more complex nodes through the callback nodeRenderer
.
I've modified the example on jsfiddle to use the callback and this works fine in both chrome and safari.
https://jsfiddle.net/tpde0cer/992/
Good luck with the bug hunt! /Erik
I am using dTree to create a family tree. I am using custom node to create nodes. It is working fine on Chrome but not working on Safari. Nodes are not rendered properly.
JSFiddle link.