@vaadin/vaadin-overlay
Advanced tools
Comparing version 3.2.14 to 3.2.15
@@ -14,3 +14,3 @@ { | ||
"name": "@vaadin/vaadin-overlay", | ||
"version": "3.2.14", | ||
"version": "3.2.15", | ||
"main": "vaadin-overlay.js", | ||
@@ -17,0 +17,0 @@ "author": "Vaadin Ltd", |
@@ -13,2 +13,3 @@ /** | ||
import { FocusablesHelper } from './vaadin-focusables-helper.js'; | ||
import { PositionMixin } from './vaadin-overlay-position-mixin.js'; | ||
import { html } from '@polymer/polymer/lib/utils/html-tag.js'; | ||
@@ -158,5 +159,8 @@ let overlayContentCounter = 0; | ||
* @mixes Vaadin.ThemableMixin | ||
* @mixes Vaadin.Overlay.PositionMixin | ||
* @demo demo/index.html | ||
*/ | ||
class OverlayElement extends ThemableMixin(PolymerElement) { | ||
class OverlayElement extends ThemableMixin( | ||
PositionMixin( | ||
PolymerElement)) { | ||
static get template() { | ||
@@ -509,3 +513,3 @@ return html` | ||
// TAB | ||
if (event.key === 'Tab' && this.focusTrap) { | ||
if (event.key === 'Tab' && this.focusTrap && !event.defaultPrevented) { | ||
// if only tab key is pressed, cycle forward, else cycle backwards. | ||
@@ -969,3 +973,2 @@ this._cycleTab(event.shiftKey ? -1 : 1); | ||
customElements.define(OverlayElement.is, OverlayElement); | ||
export { OverlayElement }; |
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
57825
11
1198