Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Autogrow textarea bug? #30

@Neill83

Description

@Neill83

Hi,

i have to call the update function for paper-autogrow-textarea when rows="1". Otherwise for rows > 1 i don't need to call the update function. Can you tell me why?

I use polymer with GWT.

Here is my XML-Code

<section style="padding: 20px; width: 900px;">
      <div center="" horizontal="" layout="">
           <gwt:Label text="Autogrowing textarea - no row limit - initial rows = 1" width="300px"/>
           <paper-input-decorator label="this is a placeholder" layout="" vertical="">
                <paper-autogrow-textarea ui:field="autogrowTextarea">
                      <textarea/>
                </paper-autogrow-textarea>
           </paper-input-decorator>
      </div>
</section>

This won't work without calling update in my Java-Class

this.autogrowTextarea.update();

The height is not set without calling update.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions