@syncfusion/ej2-inputs 24.2.7 → 24.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/ej2-inputs.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js +2 -2
- package/dist/ej2-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-inputs.es2015.js +10 -1
- package/dist/es6/ej2-inputs.es2015.js.map +1 -1
- package/dist/es6/ej2-inputs.es5.js +10 -1
- package/dist/es6/ej2-inputs.es5.js.map +1 -1
- package/dist/global/ej2-inputs.min.js +2 -2
- package/dist/global/ej2-inputs.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/color-picker/color-picker.js +10 -1
|
@@ -11654,7 +11654,7 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
11654
11654
|
if (this.cssClass) {
|
|
11655
11655
|
addClass([popupEle], this.cssClass.replace(/\s+/g, ' ').trim().split(' '));
|
|
11656
11656
|
}
|
|
11657
|
-
if (Browser.isDevice) {
|
|
11657
|
+
if (Browser.isDevice && !this.createPopupOnClick) {
|
|
11658
11658
|
var popupInst = this.getPopupInst();
|
|
11659
11659
|
popupInst.relateTo = document.body;
|
|
11660
11660
|
popupInst.position = { X: 'center', Y: 'center' };
|
|
@@ -11693,6 +11693,15 @@ var ColorPicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
11693
11693
|
_this.createWidget();
|
|
11694
11694
|
popupEle.style.display = '';
|
|
11695
11695
|
if (Browser.isDevice) {
|
|
11696
|
+
if (_this.createPopupOnClick) {
|
|
11697
|
+
var popupInst = _this.getPopupInst();
|
|
11698
|
+
popupInst.relateTo = document.body;
|
|
11699
|
+
popupInst.position = { X: 'center', Y: 'center' };
|
|
11700
|
+
popupInst.targetType = 'container';
|
|
11701
|
+
popupInst.collision = { X: 'fit', Y: 'fit' };
|
|
11702
|
+
popupInst.offsetY = 4;
|
|
11703
|
+
popupEle.style.zIndex = getZindexPartial(_this.splitBtn.element).toString();
|
|
11704
|
+
}
|
|
11696
11705
|
_this.modal = _this.createElement('div');
|
|
11697
11706
|
_this.modal.className = 'e-' + _this.getModuleName() + ' e-modal';
|
|
11698
11707
|
_this.modal.style.display = 'none';
|