-
Notifications
You must be signed in to change notification settings - Fork 160
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
Paper-textarea label not moving as a floating label #555
Comments
Hello, I also have the same issue since a couple of days and can't find the reason why. |
If it just broke, would you mind updating web components and trying again? There was a polyfill problem that I think may be the culprit, since we haven't pushed any new changes to this element recently |
It's been broken for awhile, at least since February. For users: As a workaround the attribute always-float-label on a paper-textarea element will forgo the resting label, avoiding this issue (but disabling the nifty transition from resting to floating label) |
Hello. |
I just ran into the same issue today. Any ETA on a fix? Seems like a pretty common problem. |
Similar issue. Not able to fix. Please post any workaround.? |
Here's a workaround: |
I believe this is caused by the following commit: PolymerElements/iron-autogrow-textarea@2dba77f. The line |
Thank you, @kreinholt! I was also struggling with this bug--I tried uncommenting it and the functionality went back to normal. Also props to the programmer that put this comment above the commented code it: |
I see the same problem on a |
Marking this as a duplicate of #508 (and looking at that PR which should fix both of these right now) |
(fixed with the 2.1.1 release of iron-autogrow-textarea btw) |
Description
When a
paper-textarea
is empty and a call is done to set a new value programmatically, the new content overlaps the label.Initial rendering:

After the value is set programmatically:
Expected outcome
I expect the label to move as a floating label and not stay a resting label:
Actual outcome
The floating label does not move as a floating label.
Steps to reproduce
paper-textarea
to your page:ready()
method or on button tap, set the value programatically:I have tried to use
updateValueAndPreserveCaret
but the issue is the same.The issue occurs only when the initial content is empty.
The text was updated successfully, but these errors were encountered: