Skip to content

Commit 9e1c148

Browse files
authored
Merge pull request #454 from devforth/fix-select-is-under-checkout
fix: adjust z-index for dropdown in Select component
2 parents caf8bd1 + 03779fd commit 9e1c148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/spa/src/afcl/Select.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</div>
3939
</div>
4040
<teleport to="body" v-if="(teleportToBody || teleportToTop) && showDropdown">
41-
<div ref="dropdownEl" :style="getDropdownPosition" :class="{'shadow-none': isTop, 'z-10': teleportToBody, 'z-[1000]': teleportToTop}"
41+
<div ref="dropdownEl" :style="getDropdownPosition" :class="{'shadow-none': isTop, 'z-30': teleportToBody, 'z-[1000]': teleportToTop}"
4242
class="fixed w-full bg-lightDropdownOptionsBackground shadow-lg dark:shadow-black dark:bg-darkDropdownOptionsBackground
4343
dark:border-gray-600 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm max-h-48"
4444
@scroll="handleDropdownScroll">

0 commit comments

Comments
 (0)