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

Conversation

@jakemac53
Copy link
Contributor

Fixes dart-archive/paper-elements#79.

Another much simpler option here would be to just remove the 'target' attribute entirely (it wasn't being used at all before), and default to doing a querySelector('textarea') (or maybe even querySelectorAll?) inside the update method if input is not supplied.

Let me know if you would prefer that solution and I am happy to send out a new pull request. I don't know if having a bindable/assignable 'target' property is really necessary or desirable.

@sanfordredlich
Copy link

This works and is great, thanks Jake! Please, someone merge it. I was going crazy because the field had data in it on initial display but wouldn't autogrow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Paper autogrow text area does not grow when calling update()

2 participants