@vaadin/component-base 23.2.3 → 23.2.4

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.2.3",
3
+ "version": "23.2.4",
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": "1af597f358327f1be61ccfb05ec83378dcdf0884"
45
+ "gitHead": "d6cb1fbaaf436635de6854653b8b205065e15688"
46
46
  }
@@ -39,7 +39,7 @@ const registered = new Set();
39
39
  export const ElementMixin = (superClass) =>
40
40
  class VaadinElementMixin extends DirMixin(superClass) {
41
41
  static get version() {
42
- return '23.2.3';
42
+ return '23.2.4';
43
43
  }
44
44
 
45
45
  /** @protected */
@@ -349,6 +349,12 @@ export class IronListAdapter {
349
349
  }
350
350
 
351
351
  this.__previousScrollTop = this._scrollTop;
352
+
353
+ // If the first visible index is not 0 when scrolled to the top,
354
+ // add some scroll offset to enable the user to continue scrolling.
355
+ if (this._scrollTop === 0 && this.firstVisibleIndex !== 0) {
356
+ this._scrollTop = 1;
357
+ }
352
358
  }
353
359
 
354
360
  /** @private */