#101856
santhosh
Member

Thought of providing more details. Below is the HTML code that using smart tree
<smart-tree
[filterable]=”true”
filterInputPlaceholder=”Search Categories”
#tree
>
<smart-tree-item
*ngFor=”let category of treeDataSource”
(click)=”selectCategory(category.label)”
[ngClass]=”{ selected: categorySelected === category.label }”
>
{{ category.label }}
</smart-tree-item>
</smart-tree>
 
CSS Style
smart-tree {
height: 100%;
width: 100%;
}
When I load the page, there is no scroll bar shown. but there are a lot of items that were hidden
After I change the height of the parent element and reverted to the original height, the scroll bar is visible