@vaadin/password-field
Advanced tools
Comparing version 22.0.0-alpha5 to 22.0.0-alpha6
{ | ||
"name": "@vaadin/password-field", | ||
"version": "22.0.0-alpha5", | ||
"version": "22.0.0-alpha6", | ||
"description": "vaadin-password-field", | ||
@@ -28,9 +28,9 @@ "main": "vaadin-password-field.js", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/text-field": "^22.0.0-alpha5", | ||
"@vaadin/vaadin-lumo-styles": "^22.0.0-alpha5", | ||
"@vaadin/vaadin-material-styles": "^22.0.0-alpha5" | ||
"@vaadin/text-field": "^22.0.0-alpha6", | ||
"@vaadin/vaadin-lumo-styles": "^22.0.0-alpha6", | ||
"@vaadin/vaadin-material-styles": "^22.0.0-alpha6" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/testing-helpers": "^0.2.1", | ||
"@vaadin/testing-helpers": "^0.3.0", | ||
"sinon": "^9.2.1" | ||
@@ -41,3 +41,3 @@ }, | ||
}, | ||
"gitHead": "012f658db6f81375be8889f63ee15e3f660fe9ec" | ||
"gitHead": "4b136b1c7da8942960e7255f40c27859125b3a45" | ||
} |
@@ -212,4 +212,5 @@ /** | ||
} else { | ||
const isButtonFocused = this.getRootNode().activeElement === this._revealNode; | ||
// Remove focus-ring from the field when the reveal button gets focused | ||
this.toggleAttribute('focus-ring', !this._revealNode.matches(':focus')); | ||
this.toggleAttribute('focus-ring', !isButtonFocused); | ||
} | ||
@@ -216,0 +217,0 @@ } |
28994
471