@vaadin/component-base 23.1.10 → 23.1.11

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.10",
3
+ "version": "23.1.11",
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": "439dc60a019bae972f286adc0479d340dd1ffe72"
45
+ "gitHead": "8431798f6d50c35193817be868ddee0de021166c"
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.1.10';
42
+ return '23.1.11';
43
43
  }
44
44
 
45
45
  /** @protected */
@@ -153,6 +153,10 @@ export class IronListAdapter {
153
153
  // Assign a temporary placeholder sizing to elements that would otherwise end up having
154
154
  // no height.
155
155
  el.style.paddingTop = `${this.__placeholderHeight}px`;
156
+
157
+ // Manually schedule the resize handler to make sure the placeholder padding is
158
+ // cleared in case the resize observer never triggers.
159
+ requestAnimationFrame(() => this._resizeHandler());
156
160
  } else {
157
161
  // Add element height to the queue
158
162
  this.__elementHeightQueue.push(elementHeight);