fix reporting multiselect dropdowns max height, fixes ST-414

This commit is contained in:
Gregor Vostrak
2024-09-09 14:16:40 +02:00
committed by Constantin Graf
parent f0705e1e4a
commit d211e962f5
5 changed files with 7 additions and 5 deletions

View File

@@ -125,7 +125,7 @@ watch(open, () => {
<slot name="trigger"> </slot>
</template>
<template #content>
<div ref="dropdownViewport" class="w-60">
<div ref="dropdownViewport" class="w-60 max-h-60 overflow-y-scroll">
<div
v-for="item in filteredItems"
:key="props.getKeyFromItem(item) ?? 'none'"