Skip to content

Commit

Permalink
fix(autocomplete): dropdown height with virtual scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidasdel committed Jul 6, 2024
1 parent e804cd6 commit f8dfc87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/components/scroller/scroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ export class Scroller implements OnInit, AfterContentInit, AfterViewChecked, OnD
this.setInitialState();
this.setContentEl(this.contentEl);
this.init();
this.calculateAutoSize();

this.defaultWidth = DomHandler.getWidth(this.elementViewChild?.nativeElement);
this.defaultHeight = DomHandler.getHeight(this.elementViewChild?.nativeElement);
Expand Down Expand Up @@ -1074,6 +1075,7 @@ export class Scroller implements OnInit, AfterContentInit, AfterViewChecked, OnD
this.defaultContentHeight = DomHandler.getHeight(this.contentEl);

this.init();
this.calculateAutoSize();
});
}
}, this._resizeDelay);
Expand Down

0 comments on commit f8dfc87

Please sign in to comment.