PolymerElements / paper-input

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

Once the Paper-input disabled and enabled border is coming outside input field #619

Closed basavaraj4631 closed 6 years ago

basavaraj4631 commented 6 years ago

Description

Programmatically disable the paper-input element for ex: this.$.inputField.disabled = true; this.$.inputField.disabled = false;

click on input fields border is coming outside the paper-input field.

Expected outcome

blue border should not come when we click on paper-input field

Actual outcome

blue border is coming only after disable and enable the input field

Live Demo

Steps to reproduce

Add button disable and enable paper-input Programmatically click on paper-input field

Browsers Affected

notwaldorf commented 6 years ago

I can't reproduce this: http://jsbin.com/sagucol/1/edit?html,output. You can't click on a disabled input in any way:

screen shot 2018-02-20 at 10 59 59 am

I've also tried this in Firefox, to make sure it works under the polyfill, and it works the same way. Please post a JSBIn with reproducible steps, or else there isn't much I can look into :(