@vaadin/a11y-base
Advanced tools
Comparing version
{ | ||
"name": "@vaadin/a11y-base", | ||
"version": "24.2.0-alpha6", | ||
"version": "24.2.0-alpha7", | ||
"publishConfig": { | ||
@@ -35,3 +35,3 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "24.2.0-alpha6", | ||
"@vaadin/component-base": "24.2.0-alpha7", | ||
"lit": "^2.0.0" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"gitHead": "3ef6e6cd66919b3ef7637e42916e4c54656beb51" | ||
"gitHead": "81ecf12d2d59a3e5b467273c37a391e31932dc9c" | ||
} |
@@ -85,8 +85,5 @@ /** | ||
focus() { | ||
if (!this.focusElement || this.disabled) { | ||
return; | ||
if (this.focusElement && !this.disabled) { | ||
this.focusElement.focus(); | ||
} | ||
this.focusElement.focus(); | ||
this._setFocused(true); | ||
} | ||
@@ -99,7 +96,5 @@ | ||
blur() { | ||
if (!this.focusElement) { | ||
return; | ||
if (this.focusElement) { | ||
this.focusElement.blur(); | ||
} | ||
this.focusElement.blur(); | ||
this._setFocused(false); | ||
} | ||
@@ -106,0 +101,0 @@ |
103103
-0.1%2727
-0.15%+ Added
- Removed