@vaadin/overlay
Advanced tools
Comparing version 24.5.0-alpha6 to 24.5.0-alpha7
{ | ||
"name": "@vaadin/overlay", | ||
"version": "24.5.0-alpha6", | ||
"version": "24.5.0-alpha7", | ||
"publishConfig": { | ||
@@ -39,7 +39,7 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/a11y-base": "24.5.0-alpha6", | ||
"@vaadin/component-base": "24.5.0-alpha6", | ||
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha6", | ||
"@vaadin/vaadin-material-styles": "24.5.0-alpha6", | ||
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha6", | ||
"@vaadin/a11y-base": "24.5.0-alpha7", | ||
"@vaadin/component-base": "24.5.0-alpha7", | ||
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha7", | ||
"@vaadin/vaadin-material-styles": "24.5.0-alpha7", | ||
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha7", | ||
"lit": "^3.0.0" | ||
@@ -52,3 +52,3 @@ }, | ||
}, | ||
"gitHead": "c5f541dbe961a994730d4c60472ae957bf6b4c12" | ||
"gitHead": "89f77a69ae0eba6247f2b3084941f9395d7134e1" | ||
} |
@@ -9,3 +9,3 @@ /** | ||
import { FocusTrapController } from '@vaadin/a11y-base/src/focus-trap-controller.js'; | ||
import { getDeepActiveElement } from '@vaadin/a11y-base/src/focus-utils.js'; | ||
import { getDeepActiveElement, isKeyboardActive } from '@vaadin/a11y-base/src/focus-utils.js'; | ||
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js'; | ||
@@ -80,3 +80,4 @@ | ||
if (this.restoreFocusOnClose && this._shouldRestoreFocus()) { | ||
this.__focusRestorationController.restoreFocus(); | ||
const preventScroll = !isKeyboardActive(); | ||
this.__focusRestorationController.restoreFocus({ preventScroll }); | ||
} | ||
@@ -83,0 +84,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
74096
1650
+ Added@vaadin/a11y-base@24.5.0-alpha7(transitive)
+ Added@vaadin/component-base@24.5.0-alpha7(transitive)
+ Added@vaadin/icon@24.5.0-alpha7(transitive)
+ Added@vaadin/vaadin-lumo-styles@24.5.0-alpha7(transitive)
+ Added@vaadin/vaadin-material-styles@24.5.0-alpha7(transitive)
+ Added@vaadin/vaadin-themable-mixin@24.5.0-alpha7(transitive)
- Removed@vaadin/a11y-base@24.5.0-alpha6(transitive)
- Removed@vaadin/component-base@24.5.0-alpha6(transitive)
- Removed@vaadin/icon@24.5.0-alpha6(transitive)
- Removed@vaadin/vaadin-lumo-styles@24.5.0-alpha6(transitive)
- Removed@vaadin/vaadin-material-styles@24.5.0-alpha6(transitive)
- Removed@vaadin/vaadin-themable-mixin@24.5.0-alpha6(transitive)