Skip to content

Commit

Permalink
Merge pull request #15971 from leonidasdel/15647
Browse files Browse the repository at this point in the history
fix(autocomplete): dropdown height with virtual scroll
  • Loading branch information
cetincakiroglu authored Jul 11, 2024
2 parents fc669e6 + f8dfc87 commit c1c3fc2
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 @@ -608,6 +608,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 @@ -1068,6 +1069,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 c1c3fc2

Please sign in to comment.