Skip to content

Commit

Permalink
Merge pull request #249 from valor-software/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Georgii Rychko authored Apr 3, 2018
2 parents 0e44c65 + d6414d5 commit 49fdeb9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tree-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ export class TreeController {
if (tree) {
const controller = this.treeService.getController(tree.id);
if (controller) {
controller.expand();
this.expandToParent(tree.parent);
requestAnimationFrame(() => {
controller.expand();
this.expandToParent(tree.parent);
});
}
}
}
Expand Down

0 comments on commit 49fdeb9

Please sign in to comment.