-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Conversation
@ThomasBurleson @EladBezalel Can you please review that commit and give me a suggestion about adding the |
Working well on my website. 👍 |
Update
PS: @EladBezalel Can you please take a look 😄 + (not yet squashed) |
@@ -0,0 +1,22 @@ | |||
<div layout="column" ng-cloak class="md-inline-form"> | |||
|
|||
<md-content layout-padding> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
layout-padding is making the text areas look weird, wrap them with divs or make a class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just copied that from the Basic Demo, or is this a difference because of the other inputs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CSS for layout-padding
changed recently. We are aware of some issues with it, but the quick workaround is to wrap the content in a <div>
.
d5dbd9c
to
a57b716
Compare
The most of your suggestions are now ready. @EladBezalel |
Seems there is problem with this PR. sorry for no codepen or something. I don't know how to include changed library to sourcecode. It's removing default value if exists.
|
|
||
element.on('scroll', onScroll); | ||
} | ||
|
||
// Trigger the input event to compute style | ||
element.triggerHandler('input'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line causing problems(It's removing default value if exists.)
7630498
to
d2ec04b
Compare
All problems are now solved @morriq PS: Ignore Travis CI -> It's currently always failing due an error in |
d2ec04b
to
101b1bc
Compare
|
||
node.style.height = calcHeight + "px"; | ||
} else if (contentHeight) { | ||
node.style.height = contentHeight + 'px'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd expect a variable to save the height into and applying node.style.height =
only once for more readability
Hey @devversion, because we're past 1.0 we try our best not to introduce breaking changes. It's also fixing #5919 ? |
@EladBezalel Just thought a bit about the breaking change. I don't think it such a huge breaking change, it's just adding the attribute Little Explanation:
I think it's not a big change, and I think it also needed to provide this new attribute to allow the users to decide how the PS: And yes - this should fix #5919 too, and please take a look at the new |
@ThomasBurleson assigned to you not because it's ready, please review. |
+1 |
As this is not the complete and desired behavior of textarea, im closing this one, |
Fixes Textarea Input
Fixes #5751