@dataloop-ai/components 0.19.89 → 0.19.90

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": "@dataloop-ai/components",
3
- "version": "0.19.89",
3
+ "version": "0.19.90",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -115,7 +115,8 @@ export default defineComponent({
115
115
  rowGap,
116
116
  columnGap,
117
117
  maxElementsPerRow,
118
- items
118
+ items,
119
+ virtualScroll
119
120
  } = toRefs(props)
120
121
 
121
122
  const isLayoutMode = computed(() => mode.value == DlGridMode.LAYOUT)
@@ -130,8 +131,8 @@ export default defineComponent({
130
131
 
131
132
  const hasVirtualScroll = computed(
132
133
  () =>
133
- props.items?.length > props.virtualScrollThreshold &&
134
- props.virtualScroll
134
+ items.value?.length > props.virtualScrollThreshold ||
135
+ virtualScroll.value
135
136
  )
136
137
 
137
138
  const gridStyles = computed(() => {