fix: increase PortalSelect z-index to prevent obscuring in dialogs

Increase the z-index of PortalSelect dropdown from z-20 to z-[1002] to
ensure select options are not obscured when used inside dialog/modal
containers that have higher z-index values.

fixes #27581

Signed-off-by: majiayu000 <1835304752@qq.com>
This commit is contained in:
majiayu000 2025-12-25 15:40:13 +08:00
parent 5549ab66ff
commit 64f6307688
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ const PortalSelect: FC<PortalSelectProps> = ({
)}
</PortalToFollowElemTrigger>
<PortalToFollowElemContent className={`z-20 ${popupClassName}`}>
<PortalToFollowElemContent className={`z-[1002] ${popupClassName}`}>
<div
className={cn('max-h-60 overflow-auto rounded-xl border-[0.5px] border-components-panel-border bg-components-panel-bg px-1 py-1 text-base shadow-lg focus:outline-none sm:text-sm', popupInnerClassName)}
>