@vaadin/overlay
Advanced tools
Comparing version 23.3.28 to 23.3.29
{ | ||
"name": "@vaadin/overlay", | ||
"version": "23.3.28", | ||
"version": "23.3.29", | ||
"publishConfig": { | ||
@@ -39,6 +39,6 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "~23.3.28", | ||
"@vaadin/vaadin-lumo-styles": "~23.3.28", | ||
"@vaadin/vaadin-material-styles": "~23.3.28", | ||
"@vaadin/vaadin-themable-mixin": "~23.3.28" | ||
"@vaadin/component-base": "~23.3.29", | ||
"@vaadin/vaadin-lumo-styles": "~23.3.29", | ||
"@vaadin/vaadin-material-styles": "~23.3.29", | ||
"@vaadin/vaadin-themable-mixin": "~23.3.29" | ||
}, | ||
@@ -48,10 +48,10 @@ "devDependencies": { | ||
"@polymer/iron-overlay-behavior": "^3.0.0", | ||
"@vaadin/button": "~23.3.28", | ||
"@vaadin/radio-group": "~23.3.28", | ||
"@vaadin/button": "~23.3.29", | ||
"@vaadin/radio-group": "~23.3.29", | ||
"@vaadin/testing-helpers": "^0.3.2", | ||
"@vaadin/text-field": "~23.3.28", | ||
"@vaadin/text-field": "~23.3.29", | ||
"lit": "^2.0.0", | ||
"sinon": "^13.0.2" | ||
}, | ||
"gitHead": "060cd64f1a65c61904446c9725a8fe5d6c8f218c" | ||
"gitHead": "5e34a34170af02e934a759c9e2f4b100202504c7" | ||
} |
@@ -14,3 +14,2 @@ /** | ||
import { FocusTrapController } from '@vaadin/component-base/src/focus-trap-controller.js'; | ||
import { getClosestFocusable } from '@vaadin/component-base/src/focus-utils.js'; | ||
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; | ||
@@ -381,6 +380,2 @@ | ||
this.addController(this.__focusTrapController); | ||
this.addEventListener('mousedown', (e) => { | ||
this._onMouseDown(e); | ||
}); | ||
} | ||
@@ -996,12 +991,2 @@ | ||
} | ||
/** @private */ | ||
_onMouseDown(event) { | ||
const target = event.target; | ||
const focusable = getClosestFocusable(target.focusElement || target); | ||
if (focusable) { | ||
event.preventDefault(); | ||
focusable.focus(); | ||
} | ||
} | ||
} | ||
@@ -1008,0 +993,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
67621
1475