Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree transition end has flawed logic #140

Closed
zernyu opened this issue Apr 4, 2012 · 1 comment
Closed

Tree transition end has flawed logic #140

zernyu opened this issue Apr 4, 2012 · 1 comment

Comments

@zernyu
Copy link

zernyu commented Apr 4, 2012

tree.js:100-103

if(height){
    // after expansion, ensure display is correct, and we set it to none for hidden containers to improve performance
    this.style.display = height == "0px" ? "none" : "block";
}

If the grid is being rendered while styled as "display: none", the height will be 0px. I'm trying to render the grid as a tree in a hidden node and expand all the tree nodes programmatically, and this is causing the child nodes to be styled with "display: none".

@ghost
Copy link

ghost commented Jun 5, 2012

This should be resolved primarily by commit 5e518e1.

@ghost ghost closed this as completed Jun 5, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant