The iron-autogrow-textarea still doesn't react to element.focus(). I have seen that there was a merged PR (https://github.com/PolymerElements/paper-input/issues/129) in paper-input which was linked in #34 , however this element does not inherit from paper-input as far as I see?
Expected outcome
The text area should get the cursor focus. When changing it to the native textarea the focus() works fine.
Steps to reproduce
Put multiple iron-autogrow-textarea elements in the page. And programatically change the cursor focus to any element via focus()
Open the page in a web browser.
Hacky Workaround
Instead of this.$.myIronAutogrowTextarea.focus(); use this.$.myIronAutogrowTextarea.$$('textarea').focus();
Description
The
iron-autogrow-textarea
still doesn't react toelement.focus()
. I have seen that there was a merged PR (https://github.com/PolymerElements/paper-input/issues/129) inpaper-input
which was linked in #34 , however this element does not inherit frompaper-input
as far as I see?Expected outcome
The text area should get the cursor focus. When changing it to the native
textarea
thefocus()
works fine.Steps to reproduce
iron-autogrow-textarea
elements in the page. And programatically change the cursor focus to any element viafocus()
Hacky Workaround
Instead of
this.$.myIronAutogrowTextarea.focus();
usethis.$.myIronAutogrowTextarea.$$('textarea').focus();
Example
Browsers Affected
Tested in latest stable Chrome.