You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the stackblitz, using a textarea with auto-resize within a if condition or for loop results in the height of the textarea to be set to 0, regardless of the initial row size set.
Note that editing the value corrects it afterwards, so it looks like the resize event is triggered too early somehow.
Expected behavior
The auto-resize to set to the correct height.
The text was updated successfully, but these errors were encountered:
Describe the bug
There is cases where using a TextArea with auto-resize results in the text area being set at
height=0
.Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/uguuxzyv?file=src%2Fapp%2Ftabs-basic-demo.html
Environment
Nothing special (see stackblitz)
Angular version
19.0.7
PrimeNG version
v19
Node version
v22
Browser(s)
Chrome 131.0.6778.265 (Official Build) (arm64); Firefox 134.0 (aarch64)
Steps to reproduce the behavior
As per the stackblitz, using a textarea with auto-resize within a if condition or for loop results in the height of the textarea to be set to 0, regardless of the initial row size set.
Note that editing the value corrects it afterwards, so it looks like the resize event is triggered too early somehow.
Expected behavior
The auto-resize to set to the correct height.
The text was updated successfully, but these errors were encountered: