@vaadin/component-base 23.1.10 → 23.1.12
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.
|
|
3
|
+
"version": "23.1.12",
|
|
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": "0e0e63f33a535bc37103065550126a440f575b10"
|
|
46
46
|
}
|
package/src/element-mixin.js
CHANGED
|
@@ -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);
|