fperucic / treant-js

Treant.js - javascript library for drawing tree diagrams
MIT License
864 stars 314 forks source link

Contact me inside collapsible node not working #152

Open Method-Development opened 5 years ago

Method-Development commented 5 years ago

Fiddle showing issue: http://jsfiddle.net/mjg34s1h/

I have this node:

` dqLink = { parent: complaintFiled, text:{ title: "MTD", contact: { val: "contact me", href: "http://twitter.com/", target: "_blank" } },

    collapsable: true,
    collapsed: true

}`

and when I click on the node it expands the child nodes associated with it but if I click on the "contact me" it does not open the link in a new window. Any suggestions?

mshd commented 4 years ago

Try to change the css attribute for collapse .Treant .collapse-switch { width: 30%; height: 30%; border: none; }