@ldmjs/ui 1.0.94 → 1.0.95
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/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5542,6 +5542,9 @@ let IteratorItemComponent = IteratorItemComponent_1 = class IteratorItemComponen
|
|
|
5542
5542
|
if (entries.length && entries[0].contentRect) {
|
|
5543
5543
|
height = entries[0].contentRect.height;
|
|
5544
5544
|
vm.width = entries[0].contentRect.width;
|
|
5545
|
+
if (!height) {
|
|
5546
|
+
height = vm.height || entries[0].target?.clientHeight || entries[0].target?.scrollHeight;
|
|
5547
|
+
}
|
|
5545
5548
|
}
|
|
5546
5549
|
else {
|
|
5547
5550
|
height = vm.$el.clientHeight;
|