@vaadin/component-base 23.1.7 → 23.1.9
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.1.
|
|
3
|
+
"version": "23.1.9",
|
|
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": "ad8461e09f049c3f04f50278d38d0f5a98604904"
|
|
46
46
|
}
|
package/src/element-mixin.js
CHANGED
|
@@ -345,6 +345,12 @@ export class IronListAdapter {
|
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
this.__previousScrollTop = this._scrollTop;
|
|
348
|
+
|
|
349
|
+
// If the first visible index is not 0 when scrolled to the top,
|
|
350
|
+
// add some scroll offset to enable the user to continue scrolling.
|
|
351
|
+
if (this._scrollTop === 0 && this.firstVisibleIndex !== 0) {
|
|
352
|
+
this._scrollTop = 1;
|
|
353
|
+
}
|
|
348
354
|
}
|
|
349
355
|
|
|
350
356
|
/** @private */
|