PolymerElements / paper-input

A Material Design text field
https://www.webcomponents.org/element/PolymerElements/paper-input
130 stars 162 forks source link

focus not working #611

Closed atifwaqar closed 6 years ago

atifwaqar commented 6 years ago

I am getting this error Cannot read property 'focus' of null. and looks like the similar issue is reported on another github repo https://github.com/googlearchive/paper-input/issues/113

notwaldorf commented 6 years ago

That is the 0.5 version of the element, which is a completely different code base and over 3 years old. Do you have any repro steps? Here's a jsbin where calling focus works: http://jsbin.com/sehufoc/edit?html,output

atifwaqar commented 6 years ago

Hi @notwaldorf ! Sorry I totally forgot to update here. The issue was in my code, Focus is working as expected. I'll close this card now.