@syncfusion/ej2-dropdowns 31.2.15 → 31.2.16
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/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +5 -4
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +5 -4
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +3 -3
- package/src/drop-down-list/drop-down-list.js +1 -1
- package/src/multi-select/multi-select.js +4 -3
|
@@ -7278,7 +7278,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
7278
7278
|
var container = this.inputWrapper.container;
|
|
7279
7279
|
var label = container.querySelector('.e-float-text');
|
|
7280
7280
|
var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
7281
|
-
if (label && calculateWidth) {
|
|
7281
|
+
if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
|
|
7282
7282
|
label.style.width = calculateWidth + 'px';
|
|
7283
7283
|
}
|
|
7284
7284
|
};
|
|
@@ -18980,7 +18980,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18980
18980
|
_this.renderItems(_this.mainData, _this.fields);
|
|
18981
18981
|
}
|
|
18982
18982
|
_this.virtualCustomData = null;
|
|
18983
|
-
_this.isVirtualTrackHeight = false;
|
|
18983
|
+
_this.isVirtualTrackHeight = _this.totalItemCount > (_this.itemCount * 2) ? false : true;
|
|
18984
18984
|
}
|
|
18985
18985
|
});
|
|
18986
18986
|
}
|
|
@@ -19029,7 +19029,8 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
19029
19029
|
if (_this.hideSelectedItem && _this.value && Array.isArray(_this.value) && _this.value.length > 0) {
|
|
19030
19030
|
_this.totalItemsCount();
|
|
19031
19031
|
}
|
|
19032
|
-
if (!_this.preventSetCurrentData &&
|
|
19032
|
+
if (!_this.preventSetCurrentData && _this.totalItemCount > (_this.itemCount * 2) &&
|
|
19033
|
+
!isNullOrUndefined(_this.viewPortInfo.startIndex) &&
|
|
19033
19034
|
!isNullOrUndefined(_this.viewPortInfo.endIndex)) {
|
|
19034
19035
|
_this.notify('setCurrentViewDataAsync', {
|
|
19035
19036
|
component: _this.getModuleName(),
|
|
@@ -19098,7 +19099,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
19098
19099
|
var container = this.overAllWrapper;
|
|
19099
19100
|
var label = container.querySelector('.e-float-text');
|
|
19100
19101
|
var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
|
|
19101
|
-
if (label && calculateWidth) {
|
|
19102
|
+
if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
|
|
19102
19103
|
label.style.width = calculateWidth + 'px';
|
|
19103
19104
|
}
|
|
19104
19105
|
};
|