Skip to content
Snippets Groups Projects
Commit 9a1953a5 authored by Xiao Gui's avatar Xiao Gui
Browse files

bugfix: virtualScrollViewport

parent 565d1e2e
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,12 @@ export class FlatTreeComponent implements AfterViewChecked {
uncollapsedLevels : Set<string> = new Set()
ngAfterViewChecked(){
/**
* if useDefaultList is true, virtualscrollViewPort will be undefined
*/
if (!this.virtualScrollViewPort) {
return
}
const currentTotalDataLength = this.virtualScrollViewPort.getDataLength()
const previousDataLength = this.totalDataLength
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment