As a workaround for the previous bug I posted, I tried to force the window to resize with a setInterval
. Unfortunately this revealed another bug - the tree grows in height with every resize. There’s also no scrollbar displayed when the tree grows past the parent height.
Any updates on this?
Just remove the extra content from the target DIV and tree will size self correctly.
Thanks. Removing “Content” solved the problem.
I see a class='nopadding'
in your solution snippet. What should it do? There doesn’t seem to be a CSS rule for that class.
Sorry for misleading sample, the class is not necessary actually - it was from some other test.
The same snippet works without extra css class as well