@dataloop-ai/components 0.17.58 → 0.17.60
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
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
<!-- Virtual scroll -->
|
|
190
190
|
<dl-virtual-scroll
|
|
191
191
|
v-if="optionsCount > MAX_ITEMS_PER_LIST"
|
|
192
|
-
v-slot="{ item }"
|
|
192
|
+
v-slot="{ item, index }"
|
|
193
193
|
:items="options"
|
|
194
194
|
:virtual-scroll-item-size="28"
|
|
195
195
|
:virtual-scroll-sticky-size-start="28"
|
|
@@ -202,11 +202,10 @@
|
|
|
202
202
|
:multiselect="multiselect"
|
|
203
203
|
:class="{
|
|
204
204
|
selected:
|
|
205
|
-
|
|
206
|
-
highlightSelected
|
|
205
|
+
item === selectedOption && highlightSelected
|
|
207
206
|
}"
|
|
208
207
|
:style="
|
|
209
|
-
|
|
208
|
+
index === highlightedIndex
|
|
210
209
|
? 'background-color: var(--dl-color-fill)'
|
|
211
210
|
: ''
|
|
212
211
|
"
|