@vaadin/component-base
Advanced tools
Comparing version 23.0.0 to 23.0.1
{ | ||
"name": "@vaadin/component-base", | ||
"version": "23.0.0", | ||
"version": "23.0.1", | ||
"publishConfig": { | ||
@@ -45,3 +45,3 @@ "access": "public" | ||
}, | ||
"gitHead": "e5ce38429a14de1448d732614e359fb32b2c42e0" | ||
"gitHead": "05fcc6daa21325753cf528c9c1072ccd8dd1e52e" | ||
} |
@@ -6,2 +6,3 @@ /** | ||
*/ | ||
import { setCancelSyntheticClickEvents } from '@polymer/polymer/lib/utils/settings.js'; | ||
import { usageStatistics } from '@vaadin/vaadin-usage-statistics/vaadin-usage-statistics.js'; | ||
@@ -12,2 +13,8 @@ import { idlePeriod } from './async.js'; | ||
// This setting affects the legacy Polymer gestures which get activated | ||
// once you import any iron component e.g iron-icon. | ||
// It has to be explicitly disabled to prevent click issues in iOS + VoiceOver | ||
// for buttons that are based on `[role=button]` e.g vaadin-button. | ||
setCancelSyntheticClickEvents(false); | ||
window.Vaadin = window.Vaadin || {}; | ||
@@ -37,3 +44,3 @@ | ||
static get version() { | ||
return '23.0.0'; | ||
return '23.0.1'; | ||
} | ||
@@ -40,0 +47,0 @@ |
@@ -8,2 +8,4 @@ /** | ||
const instances = []; | ||
/** | ||
@@ -65,2 +67,4 @@ * A controller for trapping focus within a DOM node. | ||
instances.push(this); | ||
if (this.__focusedElementIndex === -1) { | ||
@@ -77,2 +81,4 @@ this.__focusableElements[0].focus(); | ||
this.__trapNode = null; | ||
instances.pop(); | ||
} | ||
@@ -96,2 +102,7 @@ | ||
// Only handle events for the last instance | ||
if (this !== Array.from(instances).pop()) { | ||
return; | ||
} | ||
if (event.key === 'Tab') { | ||
@@ -98,0 +109,0 @@ event.preventDefault(); |
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
162383
4581