@vaadin/component-base 24.4.0-alpha18 → 24.4.0-alpha19
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.4.0-
|
|
3
|
+
"version": "24.4.0-alpha19",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@vaadin/testing-helpers": "^0.6.0",
|
|
43
43
|
"sinon": "^13.0.2"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "5fad5eb53de7da69c1a19776a11ba74ceba27ea0"
|
|
46
46
|
}
|
package/src/define.js
CHANGED
|
@@ -797,7 +797,7 @@ export class IronListAdapter {
|
|
|
797
797
|
this.__skipNextVirtualIndexAdjust = false;
|
|
798
798
|
} else if (Math.abs(delta) > 10000) {
|
|
799
799
|
// Process a large scroll position change
|
|
800
|
-
const scale = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.
|
|
800
|
+
const scale = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.clientHeight);
|
|
801
801
|
this._vidxOffset = Math.round(scale * maxOffset);
|
|
802
802
|
} else {
|
|
803
803
|
// Make sure user can always swipe/wheel scroll to the start and end
|