-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Textarea: autoResize doesn't work when used inside a Dialog #9231
Comments
@Timmeeeey
|
@serega270
|
Related to #7000 |
Hi, We couldn't replicate the issue with the latest PrimeNG (v13). Regards |
@cetincakiroglu Here is the updated version: Unfortunately I cannot repoen this issue. Could you please reopen it? |
Please allow me to express my frustration about how bug reports are ignored for many months and then suddenly closed as "not reproducable with latest version" even when nothing has been fixed or changed in that regard. At least give us some time to react before closing the issue, since even the original author cannot reopen an issue that has been closed by an admin. The same happened to me with another issue yesterday. |
I have the same problem with primeng-lts 12.2.5 version, do you have any plan to fix it? it appears that this error has been there since 2018: #7000 |
@cetincakiroglu so the only way to solve this is to upgrade? |
The bug still exists in PrimeNg 14.2.2. @cetincakiroglu Could you please reopen this issue? |
@cetincakiroglu It is still there in PrimeNG 16 |
Fixed now, it'll be available in the upcoming release. Thanks for reporting the issue! |
Still exists in 17.8, now even with ngIf |
Ah yea, me either, maybe with setTimeout |
issue still exists in 17.12.0! |
still exists in 17.18.6 |
The issue seems to happen when using a Textarea in a Tabview as well. It only seems to be an issue when using the autoResize option. |
@cetincakiroglu can we reopen this issue? |
Also having this issue on tabView. |
[html] <textarea id="dsObservacao" pInputTextarea formControlName="dsObservacao" placeholder="Observação" rows="3" cols="30" [autoResize]="true"> </textarea>[css] |
Guys, this problem persist, why are you closing something that is not solved yet? In my case it's happening when there is a I was able to "solved it" using a <textarea
rows="12"
pInputTextarea
[autoResize]="true"
style="resize: none; min-height: 200px !important"
></textarea> Hope it helps. |
I'm submitting a ...
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-fggov7
Current behavior
When a textarea with autoResize is used inside a dialog the height of the textarea is initially set to 0px.
It doesn't matter if the textarea is empty or not.
When you click inside the textarea the height is set correctly.
The problem appeared since #9129 was fixed.
Expected behavior
The height of a textarea with autoResize should be calculated correctly.
Minimal reproduction of the problem with instructions
Angular version: 10
PrimeNG version: 10.0.2
Browser: Tested in Chrome, Firefox
The text was updated successfully, but these errors were encountered: