-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 with AutoResize has height of 0 if it starts as hidden #9890
Comments
I guess the problem line is
in inputtextarea.ts. A better-than-nothing solution would be to only run that line if |
+1 |
Hi, just wondering is there any plan to fix this, it's quite an old issue yet no progress on it. Thanks |
Hi, So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Best Regards, |
no it has not been fixed! |
still not fixed ...(* ̄0 ̄)ノ |
still not fixed! |
cetincakiroglu please reopen this issue |
cetincakiroglu don't know why this is closed it is still broken |
still appears in 16.9.1 |
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
https://stackblitz.com/edit/github-befymr
Current behavior
If a textarea with autoResize is generated while hidden, its height gets set to 0. (This happens whether or not the text area contains text.)
Expected behavior
Even if it's hidden, its size should be set to whatever it's supposed to be.
Minimal reproduction of the problem with instructions
See stackblitz
What is the motivation / use case for changing the behavior?
Our website displays a loading screen while a page loads, so the page is hidden while it's loading. Once the loading screen disappears, the textareas all are flat, whether or not they contain text. This will cause confusion, and unless we can find some kind of workaround, this may prevent us from upgrading to PrimeNG 11.
Relates to #9231 and #7000
Please tell us about your environment:
Windows 10
Angular version: 11.1
PrimeNG version: 11.2
Browser: [Chrome 88 ]
The text was updated successfully, but these errors were encountered: