@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
|
@@ -11414,7 +11414,7 @@ let ColorPicker = class ColorPicker extends Component {
|
|
|
11414
11414
|
if (this.cssClass) {
|
|
11415
11415
|
addClass([popupEle], this.cssClass.replace(/\s+/g, ' ').trim().split(' '));
|
|
11416
11416
|
}
|
|
11417
|
-
if (Browser.isDevice) {
|
|
11417
|
+
if (Browser.isDevice && !this.createPopupOnClick) {
|
|
11418
11418
|
const popupInst = this.getPopupInst();
|
|
11419
11419
|
popupInst.relateTo = document.body;
|
|
11420
11420
|
popupInst.position = { X: 'center', Y: 'center' };
|
|
@@ -11452,6 +11452,15 @@ let ColorPicker = class ColorPicker extends Component {
|
|
|
11452
11452
|
this.createWidget();
|
|
11453
11453
|
popupEle.style.display = '';
|
|
11454
11454
|
if (Browser.isDevice) {
|
|
11455
|
+
if (this.createPopupOnClick) {
|
|
11456
|
+
const popupInst = this.getPopupInst();
|
|
11457
|
+
popupInst.relateTo = document.body;
|
|
11458
|
+
popupInst.position = { X: 'center', Y: 'center' };
|
|
11459
|
+
popupInst.targetType = 'container';
|
|
11460
|
+
popupInst.collision = { X: 'fit', Y: 'fit' };
|
|
11461
|
+
popupInst.offsetY = 4;
|
|
11462
|
+
popupEle.style.zIndex = getZindexPartial(this.splitBtn.element).toString();
|
|
11463
|
+
}
|
|
11455
11464
|
this.modal = this.createElement('div');
|
|
11456
11465
|
this.modal.className = 'e-' + this.getModuleName() + ' e-modal';
|
|
11457
11466
|
this.modal.style.display = 'none';
|