treant-js
treant-js copied to clipboard
Collapse
Hi. When collapsing nodes and when switch back (uncollapse) the shape of node gets different from the past. It gets higher in shape. Can you tell what's the problem. I need very urgently
can you make a demo?
This is the first http://prntscr.com/bkfp8f When we collapse http://prntscr.com/bkfprq And finaally http://prntscr.com/bkfqlg
Try using the latest version, and ideally if you can initialise Treant with the new 3rd parameter which is jQuery, like so: new Treant( config, null, $ );
. If you use this method, you need to have jQuery included in your list of scripts.