@vaadin/component-base 24.0.7 → 24.0.8
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.0.
|
|
3
|
+
"version": "24.0.8",
|
|
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": "c3177ddc192a4006c459bd8cfc4f9c9c89866345"
|
|
46
46
|
}
|
package/src/element-mixin.js
CHANGED
|
@@ -386,6 +386,11 @@ export class IronListAdapter {
|
|
|
386
386
|
toggleScrollListener() {}
|
|
387
387
|
|
|
388
388
|
_scrollHandler() {
|
|
389
|
+
// The scroll target is hidden.
|
|
390
|
+
if (this.scrollTarget.offsetHeight === 0) {
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
393
|
+
|
|
389
394
|
this._adjustVirtualIndexOffset(this._scrollTop - (this.__previousScrollTop || 0));
|
|
390
395
|
const delta = this.scrollTarget.scrollTop - this._scrollPosition;
|
|
391
396
|
|