Textarea not auto resizing when there is default text


Topic: Textarea not auto resizing when there is default text

itdev pro asked a year ago

Pre populating text area with lots of text, that has class md-textarea-auto, the text area does not auto resize to the appropriate size.  We are using version 7.2.0. With the following code:


<div class="md-form">
  <textarea type="text" id="form7" class="md-textarea md-textarea-auto form-control" mdbInput></textarea>
  <label for="form7">Auto resizing textarea</label>

Thank you for letting us know about this problem. It should be resolved in next version.

rrosales pro premium commented 2 months ago

Hi, how are you?

This issue is not fixed yet.

Thanks Regards!

Arkadiusz Idzikowski staff commented 2 months ago

We will take a closer look at that. How exactly do you add the default value for textarea element?

Please insert min. 20 characters.


Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: Angular
  • MDB Version: 7.0.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No