-
Notifications
You must be signed in to change notification settings - Fork 42
Wrong behavior in paper-autogrow-textarea: duplicated text behind + doesn't grow #108
Comments
The text duplication is fixed in 2f4c286. If the line is too long and it can't be linebroken, it'll scroll horizontally. Please close this bug if this resolves your issue! |
OK, I tested it. The text duplication is now invisible, that's good. However, the horizontal scroll is for the mirror div (invisible), not for the textarea.The big word in the textarea is -and was originally- actually breaking and the textarea grows up, but not the paper-autogrow-textarea (because the div is not breaking the word). So, you can se the vertical scrolling the textarea:
But I fixed it in #109, now the div is also breaking the long word like the textarea and both grow up. :) Here you can test it: |
@morethanreal's comment "The text duplication is fixed in 2f4c286." probably fixes the issue I was just experiencing, but adding it to this issue to be thorough. Working with Polymer 0.5.1 and I experience the layered text effect if I style the paper-autogrow-textarea instead of the textarea (which is the wrong thing to style, but was interesting enough to report). paper-autogrow-textarea {
color: #A6A6A6;
} <paper-input-decorator
label="What issue did you encounter?"
floatingLabel>
<paper-autogrow-textarea>
<textarea
value="{{body}}"></textarea>
</paper-autogrow-textarea>
</paper-input-decorator> Experience is very similar to what @DamianGarro reported originally. |
I still see the garbled text if some lines start with spaces and you insert newlines. |
Have you tried putting in your CSS: |
When you finish a line you can see a duplicated text "behind" the textarea and it doesn't always grow up.
(From http://jsfiddle.net/bpddax1L/ )
This happens to me in my netbook (Windows 7 32 bits), tested in:
I also tested it in a desktop computer (Windows 7 64 bits):
Windoes 7 in all cases.
In Firefox and IE the duplicated text was invisible, but I could see the horizontal scroll bar growing up as I wrote.
The text was updated successfully, but these errors were encountered: