diff --git a/src/aui-tree/js/aui-tree-node.js b/src/aui-tree/js/aui-tree-node.js index e04aa704fe..67dfd375b5 100644 --- a/src/aui-tree/js/aui-tree-node.js +++ b/src/aui-tree/js/aui-tree-node.js @@ -716,6 +716,13 @@ var TreeNode = A.Component.create({ expand: function() { var instance = this; + var boundingBox = instance.get('boundingBox'); + var nodeContainer = instance.get('container'); + + if (nodeContainer && !boundingBox.contains(nodeContainer)) { + boundingBox.append(nodeContainer); + } + instance.set('expanded', true); },