md-input-container: growTextarea should be optional and should be possible to set max height
md-input-containerneeds parameter that disables autogrow of<textarea>.- There should be possible to set maximum height of
<textarea>insidemd-input-containerif autogrow is enabled. If text height inside is bigger than<textarea>height, overflow scrollbar should appear.
+1
+1!
+1
+1
+1
+1
A possible workaround though not perfect is to wrap the md-input-container containing the textarea with the following div:
<div style="height: 7rem; overflow-y: auto;" scroll-glue> </div>
I used scroll-glue directive to keep the containing div scroll stick to the bottom while its height is growing: https://github.com/Luegg/angularjs-scroll-glue
@ereztison Unfortunately, your "div" was cut off. Could you, please, provide it once again?
+1
@sazonenka: I updated my comment, you're welcome to take a look.
@ereztison Thanks!
+1