treeModel.filterNodes behaves weird when compiled with AOT
Hi,
The tree component works perfectly when compiled as JIT , but when compiled the same code with AOT it started behaving weird when you do the tree.treeModel.filterNodes(text, true);
When you enter any data on the search input , it JIT it display the Parent and Filtered Child Node properly , but on AOT it Opens up all the Parent Nodes and overlap with each Other like the Attached ScreenShot.
It only happens on the AOT compilation, not sure why the same thing never happened on JIT compilation.

Thank you
in jit as well, I am able to see issue. Along with it, the nodes which don't match the search term are no more hidden although hidden attribute is set
If I put useVirtualScroll: true in options, then the issue goes away for me. But again scroll bar comes for even small tree.
Will be fixed in the coming version
--
- Adam Klein http://il.linkedin.com/in/adamklein500
- CTO @ 500Tech.com http://500tech.com/
- AngularJS, ReactJS, NodeJS
- Development, consulting, training and public speaking
- (+972) 52 747 5633
On Tue, Mar 14, 2017 at 8:49 AM, debslab [email protected] wrote:
If I put useVirtualScroll: true in options, then the issue goes away for me. But again scroll bar comes for even small tree.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/500tech/angular-tree-component/issues/218#issuecomment-286336726, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2SSkwhZZyAHpclB6vkFLwUx6BnGaInks5rljhggaJpZM4MbA80 .
Hi @debslab , @snehasis fixed in 3.2.4, can you verify?