Skip to content

Commit a7413f5

Browse files
fix(tree-viewport): remove binding to allow AOT compilation
1 parent cd31dcd commit a7413f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/tree-viewport.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class TreeViewportComponent implements AfterViewInit, OnInit, OnDestroy {
4444
return this.virtualScroll.isEnabled() && this.virtualScroll.totalHeight + 'px' || 'auto';
4545
}
4646

47-
@HostListener('scroll', ['$event'])
47+
@HostListener('scroll')
4848
onScroll() {
4949
this.setViewport();
5050
}

0 commit comments

Comments
 (0)