@vaadin/component-base
Advanced tools
+4
-4
| { | ||
| "name": "@vaadin/component-base", | ||
| "version": "25.1.7", | ||
| "version": "25.1.8", | ||
| "publishConfig": { | ||
@@ -41,4 +41,4 @@ "access": "public" | ||
| "devDependencies": { | ||
| "@vaadin/chai-plugins": "~25.1.7", | ||
| "@vaadin/test-runner-commands": "~25.1.7", | ||
| "@vaadin/chai-plugins": "~25.1.8", | ||
| "@vaadin/test-runner-commands": "~25.1.8", | ||
| "@vaadin/testing-helpers": "^2.0.0", | ||
@@ -48,3 +48,3 @@ "sinon": "^21.0.2" | ||
| "customElements": "custom-elements.json", | ||
| "gitHead": "9872e9dc95ced20136b2f5373760d8e47bf9d44b" | ||
| "gitHead": "284962838c38ec84495ea097b97d6d03cad2069b" | ||
| } |
+1
-1
@@ -16,3 +16,3 @@ /** | ||
| export function defineCustomElement(CustomElement, version = '25.1.7') { | ||
| export function defineCustomElement(CustomElement, version = '25.1.8') { | ||
| Object.defineProperty(CustomElement, 'version', { | ||
@@ -19,0 +19,0 @@ get() { |
@@ -25,2 +25,3 @@ /** | ||
| __disableHeightPlaceholder, | ||
| __alwaysUpdateScrollerSize, | ||
| }) { | ||
@@ -41,2 +42,8 @@ this.isAttached = true; | ||
| // Internal option: a predicate that, when it returns true, makes the scroller | ||
| // height always be applied instead of amortized (see `_updateScrollerSize`). | ||
| // Used by components whose height tracks the content exactly (e.g. the grid's | ||
| // `allRowsVisible` mode). Not for public use. | ||
| this.__alwaysUpdateScrollerSize = __alwaysUpdateScrollerSize; | ||
| // Iron-list uses this value to determine how many pages of elements to render | ||
@@ -223,2 +230,7 @@ this._maxPages = 1.3; | ||
| /** @override */ | ||
| _updateScrollerSize(forceUpdate) { | ||
| super._updateScrollerSize(forceUpdate || !!this.__alwaysUpdateScrollerSize?.()); | ||
| } | ||
| /** | ||
@@ -225,0 +237,0 @@ * Updates the height for a given set of items. |
250130
0.22%7097
0.14%