@dataloop-ai/components 0.19.156 → 0.19.157

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.156",
3
+ "version": "0.19.157",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -9,14 +9,8 @@
9
9
  :container-ref="containerRef"
10
10
  @scroll-to-top="onScrollToTop"
11
11
  />
12
- <slot
13
- name="content"
14
- :items="displayItems"
15
- >
16
- <div
17
- v-for="item in displayItems"
18
- :key="itemKey(item)"
19
- >
12
+ <slot name="content" :items="displayItems">
13
+ <div v-for="item in displayItems" :key="itemKey(item)">
20
14
  <slot :item="item" />
21
15
  </div>
22
16
  </slot>
@@ -160,6 +154,7 @@ export default defineComponent({
160
154
  items.value,
161
155
  pageSize.value
162
156
  )
157
+ onScrollToTop()
163
158
  },
164
159
  { immediate: true }
165
160
  )
@@ -1,4 +1,6 @@
1
1
  .dl-virtual-scroll {
2
+ scroll-behavior: auto !important;
3
+
2
4
  &:focus {
3
5
  outline: 0;
4
6
  }