thanhlong203 / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

ui.tree.BaseNode: lazy rendering fails in some cases for dynamically added nodes #313

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to demo: 
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/tree/demo.htm
l
2. Expand folder 'E'
3. Collapse folder 'E' again
4. Select node 'Denmark' - use cut function
5. Select folder 'E' - use paste function
6. Expand folder 'E'

What is the expected output? What do you see instead?

I'd expect to see Denmark in folder 'E' but its not visible.

Please provide any additional information below.

The problem seems to be that added childs are only rendered either when the 
node is expanded or has not been rendered yet. 

Original issue reported on code.google.com by s.podkow...@gmail.com on 17 Apr 2011 at 11:03