dt-virtual-keyboard
Advanced tools
Comparing version 1.0.10 to 1.0.11
@@ -209,3 +209,2 @@ (function (global, factory) { | ||
if (key.default === 'TAB' || key.subBlock.length === 0) { | ||
event.preventDefault(); | ||
this.clickKey(key.default); | ||
@@ -452,3 +451,5 @@ } | ||
var _a, _b, _c, _d; | ||
event.preventDefault(); | ||
if (event.cancelable) { | ||
event.preventDefault(); | ||
} | ||
var endTarget = document.elementFromPoint(event.touches[0].pageX, event.touches[0].pageY); | ||
@@ -455,0 +456,0 @@ if ((endTarget === null || endTarget === void 0 ? void 0 : endTarget.childElementCount) === 1 && ((_a = endTarget === null || endTarget === void 0 ? void 0 : endTarget.firstChild) === null || _a === void 0 ? void 0 : _a.textContent) && ((_b = endTarget === null || endTarget === void 0 ? void 0 : endTarget.firstChild) === null || _b === void 0 ? void 0 : _b.textContent.length) > 0) { |
@@ -183,3 +183,2 @@ import * as i0 from '@angular/core'; | ||
if (key.default === 'TAB' || key.subBlock.length === 0) { | ||
event.preventDefault(); | ||
this.clickKey(key.default); | ||
@@ -412,3 +411,5 @@ } | ||
var _a, _b, _c, _d; | ||
event.preventDefault(); | ||
if (event.cancelable) { | ||
event.preventDefault(); | ||
} | ||
const endTarget = document.elementFromPoint(event.touches[0].pageX, event.touches[0].pageY); | ||
@@ -415,0 +416,0 @@ if ((endTarget === null || endTarget === void 0 ? void 0 : endTarget.childElementCount) === 1 && ((_a = endTarget === null || endTarget === void 0 ? void 0 : endTarget.firstChild) === null || _a === void 0 ? void 0 : _a.textContent) && ((_b = endTarget === null || endTarget === void 0 ? void 0 : endTarget.firstChild) === null || _b === void 0 ? void 0 : _b.textContent.length) > 0) { |
{ | ||
"name": "dt-virtual-keyboard", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^12.1.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
303566
1808