@coreui/vue-pro 4.11.0 → 4.11.1
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
|
@@ -94,7 +94,7 @@ const CVirtualScroller = defineComponent({
|
|
|
94
94
|
}),
|
|
95
95
|
},
|
|
96
96
|
ref: (node) => {
|
|
97
|
-
if (node && (node as HTMLElement).offsetHeight) {
|
|
97
|
+
if (itemHeight.value === 0 && node && (node as HTMLElement).offsetHeight) {
|
|
98
98
|
itemHeight.value =
|
|
99
99
|
(node as HTMLElement).offsetHeight +
|
|
100
100
|
Number.parseFloat(getComputedStyle(node as HTMLElement).marginTop) +
|