@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/dist/index.js
CHANGED
|
@@ -11141,7 +11141,7 @@ const CVirtualScroller = vue.defineComponent({
|
|
|
11141
11141
|
}),
|
|
11142
11142
|
},
|
|
11143
11143
|
ref: (node) => {
|
|
11144
|
-
if (node && node.offsetHeight) {
|
|
11144
|
+
if (itemHeight.value === 0 && node && node.offsetHeight) {
|
|
11145
11145
|
itemHeight.value =
|
|
11146
11146
|
node.offsetHeight +
|
|
11147
11147
|
Number.parseFloat(getComputedStyle(node).marginTop) +
|