primeng
primeng copied to clipboard
InputTextarea: Autoresize on modal create a scroll issue
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
- Open repro
- Click on "Select a product"
- Scroll down and focus textarea
- Click outside the textarea
- The modal scroll to top
Expected behavior
Nothing scroll must be triggered after the textarea is unfocused
I think it's same as https://github.com/primefaces/primeng/issues/14003
This issue has been automatically marked as stale. If this issue is still affecting you with the latest version, please leave any comment, and we will keep it open. We are sorry that we have not been able to prioritize it yet. If you have any new additional information, please include it with your comment!
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you for your understanding!