@vaadin/vaadin-control-state-mixin
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-control-state-mixin", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"main": "vaadin-control-state-mixin.js", | ||
@@ -16,0 +16,0 @@ "author": "Vaadin Ltd", |
@@ -85,3 +85,6 @@ /** | ||
if (e.composedPath()[0] === this) { | ||
this._focus(); | ||
// Only focus if the focus is received from somewhere outside | ||
if (!this.contains(e.relatedTarget)) { | ||
this._focus(); | ||
} | ||
} else if (e.composedPath().indexOf(this.focusElement) !== -1 && !this.disabled) { | ||
@@ -88,0 +91,0 @@ this._setFocused(true); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24038
327