Skip to content

Commit

Permalink
fix(SelectCustom): move wrapper on top of Listbox
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Apr 28, 2022
1 parent 7d1c38c commit 8222d05
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/runtime/components/forms/SelectCustom.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<Listbox
:model-value="modelValue"
:multiple="multiple"
@update:model-value="$emit('update:modelValue', $event)"
>
<div :class="wrapperClass">
<div :class="wrapperClass">
<Listbox
:model-value="modelValue"
:multiple="multiple"
@update:model-value="$emit('update:modelValue', $event)"
>
<input :value="modelValue" :required="required" class="absolute inset-0 w-px opacity-0 cursor-default" tabindex="-1">

<ListboxButton :class="selectCustomClass">
Expand Down Expand Up @@ -41,8 +41,8 @@
</ListboxOption>
</ListboxOptions>
</transition>
</div>
</Listbox>
</Listbox>
</div>
</template>

<script setup lang="ts">
Expand Down

1 comment on commit 8222d05

@vercel
Copy link

@vercel vercel bot commented on 8222d05 Apr 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-nuxtlabs.vercel.app
ui-git-dev-nuxtlabs.vercel.app
nuxthq-ui.vercel.app

Please sign in to comment.