From 479051974b26dbf5fceac3c86234913ee383ca89 Mon Sep 17 00:00:00 2001 From: sed-i Date: Wed, 21 Jan 2026 19:41:15 +0800 Subject: [PATCH] fix(stage-ui): combobox z-order (#980) --------- Co-authored-by: Neko --- packages/ui/src/components/form/combobox/combobox.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/ui/src/components/form/combobox/combobox.vue b/packages/ui/src/components/form/combobox/combobox.vue index df2f448cc..023f2f416 100644 --- a/packages/ui/src/components/form/combobox/combobox.vue +++ b/packages/ui/src/components/form/combobox/combobox.vue @@ -71,7 +71,10 @@ function toDisplayValue(value: T): string { :side-offset="4" :avoid-collisions="true" :class="[ - 'z-150 w-full min-w-[160px] overflow-hidden rounded-xl shadow-sm border will-change-[opacity,transform]', + // NOTICE: DrawerContent is z-[1000], here we choose `1010` + // Read more at: https://github.com/moeru-ai/airi/blob/0fddd043f2b213f441f3998c52dca1d24acb8405/packages/stage-ui/src/components/scenarios/dialogs/audio-input/hearing-config-dialog.vue#L62C8-L62C21 + 'z-[1010]', + 'w-full min-w-[160px] overflow-hidden rounded-xl shadow-sm border will-change-[opacity,transform]', 'data-[side=top]:animate-slideDownAndFade data-[side=right]:animate-slideLeftAndFade data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade', 'bg-white dark:bg-neutral-900', 'border-neutral-200 dark:border-neutral-800 border-solid border-2 focus:border-neutral-300 dark:focus:border-neutral-600',