@vaadin/component-base 24.8.13 → 24.8.14

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.8.13",
3
+ "version": "24.8.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,10 +38,10 @@
38
38
  "lit": "^3.0.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@vaadin/chai-plugins": "~24.8.13",
42
- "@vaadin/test-runner-commands": "~24.8.13",
41
+ "@vaadin/chai-plugins": "~24.8.14",
42
+ "@vaadin/test-runner-commands": "~24.8.14",
43
43
  "@vaadin/testing-helpers": "^1.1.0",
44
44
  "sinon": "^18.0.0"
45
45
  },
46
- "gitHead": "3bdf9208b7ad24d55ed3d2ce18be06be71cf3443"
46
+ "gitHead": "c673a07d37f5f89d13f85a709ce2a22d64d0d1ba"
47
47
  }
package/src/define.js CHANGED
@@ -13,7 +13,7 @@ function dashToCamelCase(dash) {
13
13
 
14
14
  const experimentalMap = {};
15
15
 
16
- export function defineCustomElement(CustomElement, version = '24.8.13') {
16
+ export function defineCustomElement(CustomElement, version = '24.8.14') {
17
17
  Object.defineProperty(CustomElement, 'version', {
18
18
  get() {
19
19
  return version;
@@ -758,7 +758,7 @@ export class IronListAdapter {
758
758
  * @override
759
759
  */
760
760
  _increasePoolIfNeeded(count) {
761
- if (this._physicalCount > 2 && count) {
761
+ if (this._physicalCount > 2 && this._physicalAverage > 0 && count > 0) {
762
762
  // The iron-list logic has already created some physical items and
763
763
  // has decided to create more. Since each item creation round is
764
764
  // expensive, let's try to create the remaining items in one go.