InputTextarea: Autoresize on modal create a scroll issue #14467
Labels
Resolution: Stale
Issue or pull request is inactivity and unfortunately it will be *closed* if there is no response
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Describe the bug
When a pInputTextarea is in a modal with a scrollbar, the modal is scrolled to top when the textarea is unfocused
Environment
See the repro
Reproducer
https://stackblitz.com/edit/6vrst7?file=src%2Fapp%2Fdemo%2Fdynamic-dialog-example-demo.html,src%2Fapp%2Fdemo%2Fproductlistdemo.ts
Angular version
17.0.5
PrimeNG version
17.3.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
20.10.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Nothing scroll must be triggered after the textarea is unfocused
The text was updated successfully, but these errors were encountered: