Skip to content

Commit

Permalink
fix(typeahead): fix issue on scroll (#5590)
Browse files Browse the repository at this point in the history
  • Loading branch information
Domainv authored Jan 9, 2020
1 parent cb6b29e commit 0dade71
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/typeahead/typeahead-container.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ export class TypeaheadContainerComponent implements OnDestroy {
) {
this.positionServiceSubscription = this.positionService.event$.subscribe(
() => {
const visibility = this.typeaheadScrollable ? 'hidden' : 'visible';
this.renderer.setStyle(this.element.nativeElement, 'visibility', visibility);

if (this.isAnimated) {
this.animationState = this.isTopPosition ? 'animated-up' : 'animated-down';
this.changeDetectorRef.detectChanges();
Expand Down

0 comments on commit 0dade71

Please sign in to comment.