@vaadin/component-base 23.3.14 → 23.3.15
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": "23.3.
|
|
3
|
+
"version": "23.3.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
43
43
|
"sinon": "^13.0.2"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "6c5a358dafcaa0ad5fbcec7447e265a796447bea"
|
|
46
46
|
}
|
package/src/element-mixin.js
CHANGED
|
@@ -377,6 +377,11 @@ export class IronListAdapter {
|
|
|
377
377
|
toggleScrollListener() {}
|
|
378
378
|
|
|
379
379
|
_scrollHandler() {
|
|
380
|
+
// The scroll target is hidden.
|
|
381
|
+
if (this.scrollTarget.offsetHeight === 0) {
|
|
382
|
+
return;
|
|
383
|
+
}
|
|
384
|
+
|
|
380
385
|
this._adjustVirtualIndexOffset(this._scrollTop - (this.__previousScrollTop || 0));
|
|
381
386
|
const delta = this.scrollTarget.scrollTop - this._scrollPosition;
|
|
382
387
|
|