This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-input-container: growTextarea should be optional and should be possible to set max height #1209
Milestone
Comments
+1 |
+1! |
+1 |
3 similar comments
+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> I used scroll-glue directive to keep the containing div scroll stick to the bottom while its height is growing: |
@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 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
md-input-container
needs parameter that disables autogrow of<textarea>
.<textarea>
insidemd-input-container
if autogrow is enabled. If text height inside is bigger than<textarea>
height, overflow scrollbar should appear.The text was updated successfully, but these errors were encountered: