You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
The iron-autogrow-textarea still doesn't react to element.focus(). I have seen that there was a merged PR (PolymerElements/paper-input#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 (PolymerElements/paper-input#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.
The text was updated successfully, but these errors were encountered: