MOD: mejorar visibilidad en Modal

This commit is contained in:
Juan Felipe Zapata Moreno 2025-12-12 13:14:49 -06:00
parent 8a518f477c
commit b9d2f69390
3 changed files with 5 additions and 4 deletions

View File

@ -76,6 +76,7 @@ defineExpose({
:preserve-search="true" :preserve-search="true"
:required="required && !value" :required="required && !value"
:track-by="trackBy" :track-by="trackBy"
:append-to-body="true"
@select="(x, y) => emit('select', x, y)" @select="(x, y) => emit('select', x, y)"
> >
<template #noOptions> <template #noOptions>

View File

@ -76,7 +76,7 @@ onUnmounted(() => {
<div v-show="show" class="fixed inset-0 overflow-y-auto px-4 py-6 sm:px-0 bg-primary/90 z-50 transition-all" scroll-region> <div v-show="show" class="fixed inset-0 overflow-y-auto px-4 py-6 sm:px-0 bg-primary/90 z-50 transition-all" scroll-region>
<div <div
v-show="show" v-show="show"
class="mb-6 bg-page text-page-t dark:bg-page-d dark:text-page-dt rounded-sm overflow-hidden shadow-xl transform transition-all sm:w-full sm:mx-auto" class="mb-6 bg-page text-page-t dark:bg-page-d dark:text-page-dt rounded-sm overflow-visible shadow-xl transform transition-all sm:w-full sm:mx-auto"
:class="maxWidthClass" :class="maxWidthClass"
> >
<slot v-if="show" /> <slot v-if="show" />

View File

@ -29,7 +29,7 @@ const props = defineProps({
</template> </template>
<template #content> <template #content>
<div class="w-full right-0"> <div class="w-full right-0">
<div class="overflow-hidden shadow-lg"> <div class="overflow-visible shadow-lg">
<slot /> <slot />
</div> </div>
</div> </div>