Skip to content

Commit

Permalink
Fixed #14298 - Remove afterViewCheck to avoid affecting components wi…
Browse files Browse the repository at this point in the history
…th virtualScroll
  • Loading branch information
cetincakiroglu committed Feb 7, 2024
1 parent 3ae9175 commit 652df0c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/components/inputtextarea/inputtextarea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { Subscription } from 'rxjs';
'[class.p-inputtextarea-resizable]': 'autoResize'
}
})
export class InputTextarea implements OnInit, AfterViewInit, AfterViewChecked, OnDestroy {
export class InputTextarea implements OnInit, AfterViewInit, OnDestroy {
/**
* When present, textarea size changes as being typed.
* @group Props
Expand Down Expand Up @@ -51,10 +51,6 @@ export class InputTextarea implements OnInit, AfterViewInit, AfterViewChecked, O
}
}

ngAfterViewChecked() {
this.updateState();
}

ngAfterViewInit() {
if (this.autoResize) this.resize();

Expand Down

0 comments on commit 652df0c

Please sign in to comment.