Angular-tree-component: sizeChanged() method removed?

Created on 13 Sep 2017  路  6Comments  路  Source: CirclonGroup/angular-tree-component

The TreeComponent.sizeChanged() method was recently removed by https://github.com/500tech/angular-tree-component/commit/f86c58366bc8f12af956fa2d7bf346a07e873557.

The docs say I need to call this method when a hidden tree with virtual scroll becomes visible. Is this no longer the case?

bug

Most helpful comment

I must have deleted it by mistake when doing some cleanup.
Will be returned in 6.0.0

All 6 comments

I have the same problem. The tree is hidden and looks weird when made visible but i can't call the sizeChanged() method since it's no longer present.

I have the same problem, but I found solution:
this.tree.treeModel.virtualScroll.setViewport(this.tree.treeModel.virtualScroll.viewport);

@adamkleingit could you explain why TreeComponent.sizeChanged() was removed? It's still mentioned in the docs here and here.

I must have deleted it by mistake when doing some cleanup.
Will be returned in 6.0.0

Published in 6.0.0

Looks like it's still an issue in 7.0.1

Was this page helpful?
0 / 5 - 0 ratings