@vaadin/overlay
Advanced tools
Comparing version 24.2.5 to 24.2.6
{ | ||
"name": "@vaadin/overlay", | ||
"version": "24.2.5", | ||
"version": "24.2.6", | ||
"publishConfig": { | ||
@@ -41,7 +41,7 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/a11y-base": "~24.2.5", | ||
"@vaadin/component-base": "~24.2.5", | ||
"@vaadin/vaadin-lumo-styles": "~24.2.5", | ||
"@vaadin/vaadin-material-styles": "~24.2.5", | ||
"@vaadin/vaadin-themable-mixin": "~24.2.5" | ||
"@vaadin/a11y-base": "~24.2.6", | ||
"@vaadin/component-base": "~24.2.6", | ||
"@vaadin/vaadin-lumo-styles": "~24.2.6", | ||
"@vaadin/vaadin-material-styles": "~24.2.6", | ||
"@vaadin/vaadin-themable-mixin": "~24.2.6" | ||
}, | ||
@@ -54,3 +54,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "f1c916061f1b117fa9c597d3067e7b96563f99a7" | ||
"gitHead": "0d105dd0eff818ab9c82c8443b92a1e15ac0e41a" | ||
} |
@@ -121,2 +121,10 @@ /** | ||
this.$.backdrop.addEventListener('click', () => {}); | ||
this.addEventListener('mouseup', () => { | ||
// In Chrome, focus moves to body on overlay content mousedown | ||
// See https://github.com/vaadin/flow-components/issues/5507 | ||
if (document.activeElement === document.body && this.$.overlay.getAttribute('tabindex') === '0') { | ||
this.$.overlay.focus(); | ||
} | ||
}); | ||
} | ||
@@ -123,0 +131,0 @@ |
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
67556
1474