{"_id":"5a2a43a00b68c20026c6c435","category":{"_id":"5a2a43a00b68c20026c6c41e","version":"5a2a43a00b68c20026c6c41d","project":"5707c6875309d117006948d4","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-07-15T07:28:09.870Z","from_sync":false,"order":0,"slug":"getting-started","title":"Basic"},"project":"5707c6875309d117006948d4","user":"54d742a80771980d0052f4b5","parentDoc":null,"version":{"_id":"5a2a43a00b68c20026c6c41d","project":"5707c6875309d117006948d4","__v":1,"createdAt":"2017-12-08T07:47:44.113Z","releaseDate":"2017-12-08T07:47:44.113Z","categories":["5a2a43a00b68c20026c6c41e","5a2a43a00b68c20026c6c41f","5a2a43a00b68c20026c6c420","5a2a43a00b68c20026c6c421"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"6.1.0","version":"6.1.0"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-04-17T17:05:14.362Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":7,"body":"[block:api-header]\n{\n  \"title\": \"Tree not rendered\"\n}\n[/block]\nCase: when tree is hidden (for example inside tab or modal), it is not rendered when it becomes visible.\nSolution: after it becomes visible (preferably using setTimeout) - call `tree.sizeChanged()`, which recalculates the rendered nodes according to the actual viewport size.","excerpt":"","slug":"common-issues","type":"basic","title":"Common Issues"}
[block:api-header] { "title": "Tree not rendered" } [/block] Case: when tree is hidden (for example inside tab or modal), it is not rendered when it becomes visible. Solution: after it becomes visible (preferably using setTimeout) - call `tree.sizeChanged()`, which recalculates the rendered nodes according to the actual viewport size.