@vaadin/component-base 23.2.5 → 23.2.7
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.2.
|
|
3
|
+
"version": "23.2.7",
|
|
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": "bdaf12e4200bd68a3a9224bdf4cb41954f1b8bf1"
|
|
46
46
|
}
|
package/src/element-mixin.js
CHANGED
|
@@ -155,6 +155,10 @@ export class IronListAdapter {
|
|
|
155
155
|
// Assign a temporary placeholder sizing to elements that would otherwise end up having
|
|
156
156
|
// no height.
|
|
157
157
|
el.style.paddingTop = `${this.__placeholderHeight}px`;
|
|
158
|
+
|
|
159
|
+
// Manually schedule the resize handler to make sure the placeholder padding is
|
|
160
|
+
// cleared in case the resize observer never triggers.
|
|
161
|
+
requestAnimationFrame(() => this._resizeHandler());
|
|
158
162
|
} else {
|
|
159
163
|
// Add element height to the queue
|
|
160
164
|
this.__elementHeightQueue.push(elementHeight);
|