@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.7",
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": "1152a297704f93c76534e1b5fe76ec8c3e92b881"
45
+ "gitHead": "c3177ddc192a4006c459bd8cfc4f9c9c89866345"
46
46
  }
@@ -45,7 +45,7 @@ const registered = new Set();
45
45
  export const ElementMixin = (superClass) =>
46
46
  class VaadinElementMixin extends DirMixin(superClass) {
47
47
  static get version() {
48
- return '24.0.7';
48
+ return '24.0.8';
49
49
  }
50
50
 
51
51
  /** @protected */
@@ -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