@vaadin/component-base 24.1.0-beta3 → 24.1.0-rc1
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/component-base",
|
|
3
|
-
"version": "24.1.0-
|
|
3
|
+
"version": "24.1.0-rc1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@vaadin/testing-helpers": "^0.4.0",
|
|
43
43
|
"sinon": "^13.0.2"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "ae09abc65ea9616629a8924688bb841b5075e0d2"
|
|
46
46
|
}
|
package/src/element-mixin.js
CHANGED
|
@@ -392,6 +392,11 @@ export class IronListAdapter {
|
|
|
392
392
|
toggleScrollListener() {}
|
|
393
393
|
|
|
394
394
|
_scrollHandler() {
|
|
395
|
+
// The scroll target is hidden.
|
|
396
|
+
if (this.scrollTarget.offsetHeight === 0) {
|
|
397
|
+
return;
|
|
398
|
+
}
|
|
399
|
+
|
|
395
400
|
this._adjustVirtualIndexOffset(this._scrollTop - (this.__previousScrollTop || 0));
|
|
396
401
|
const delta = this.scrollTarget.scrollTop - this._scrollPosition;
|
|
397
402
|
|