@syncfusion/ej2-schedule 31.1.20 → 31.1.21
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-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +6 -2
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +5 -1
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +4 -4
- package/src/schedule/actions/virtual-scroll.js +5 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 31.1.
|
|
3
|
+
* version : 31.1.21
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-schedule",
|
|
3
|
-
"version": "31.1.
|
|
3
|
+
"version": "31.1.21",
|
|
4
4
|
"author": "Syncfusion Inc.",
|
|
5
5
|
"license": "SEE LICENSE IN license",
|
|
6
6
|
"main": "./dist/ej2-schedule.umd.min.js",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"es2015": "./dist/es6/ej2-schedule.es5.js",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@syncfusion/ej2-base": "~31.1.20",
|
|
11
|
-
"@syncfusion/ej2-buttons": "~31.1.
|
|
12
|
-
"@syncfusion/ej2-calendars": "~31.1.
|
|
11
|
+
"@syncfusion/ej2-buttons": "~31.1.21",
|
|
12
|
+
"@syncfusion/ej2-calendars": "~31.1.21",
|
|
13
13
|
"@syncfusion/ej2-data": "~31.1.17",
|
|
14
14
|
"@syncfusion/ej2-dropdowns": "~31.1.20",
|
|
15
15
|
"@syncfusion/ej2-excel-export": "~31.1.17",
|
|
16
|
-
"@syncfusion/ej2-inputs": "~31.1.
|
|
16
|
+
"@syncfusion/ej2-inputs": "~31.1.21",
|
|
17
17
|
"@syncfusion/ej2-lists": "~31.1.17",
|
|
18
18
|
"@syncfusion/ej2-navigations": "~31.1.20",
|
|
19
19
|
"@syncfusion/ej2-popups": "~31.1.20"
|
|
@@ -58,7 +58,7 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
58
58
|
virtual.style.height = (conTable.offsetHeight + (this.parent.resourceBase.expandedResources.length - (this.renderedLength)) *
|
|
59
59
|
conTable.offsetHeight / this.renderedLength) + 'px';
|
|
60
60
|
var conWrap = this.parent.element.querySelector('.' + cls.CONTENT_WRAP_CLASS);
|
|
61
|
-
if ((conWrap.scrollHeight - conWrap.scrollTop) < conWrap.offsetHeight * this.bufferCount) {
|
|
61
|
+
if (this.bufferCount === 3 && (conWrap.scrollHeight - conWrap.scrollTop) < conWrap.offsetHeight * this.bufferCount) {
|
|
62
62
|
virtual.style.height = parseInt(virtual.style.height, 10) + (conWrap.offsetHeight * this.bufferCount) + 'px';
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -255,6 +255,10 @@ var VirtualScroll = /** @class */ (function () {
|
|
|
255
255
|
height = (height > 0) ? height : this.itemSize;
|
|
256
256
|
this.translateY = (conWrap.scrollTop - (this.bufferCount * height) > 0) ?
|
|
257
257
|
conWrap.scrollTop - (this.bufferCount * height) : 0;
|
|
258
|
+
if (this.parent.rowAutoHeight && this.translateY === 0 && index !== 0) {
|
|
259
|
+
prevSetCollection = this.getBufferCollection(0, this.renderedLength);
|
|
260
|
+
this.parent.resourceBase.renderedResources = prevSetCollection;
|
|
261
|
+
}
|
|
258
262
|
}
|
|
259
263
|
return prevSetCollection;
|
|
260
264
|
};
|