fix(plugins_select): Adjust z-index, fix issue where options cannot be displayed (#22873) (#22893)

This commit is contained in:
HyaCinth
2025-07-24 15:14:30 +08:00
committed by GitHub
parent aca8b83669
commit 061d4c8ea0
3 changed files with 6 additions and 6 deletions

View File

@@ -91,7 +91,7 @@ const PureSelect = ({
triggerPopupSameWidth={triggerPopupSameWidth}
>
<PortalToFollowElemTrigger
onClick={() => handleOpenChange(!mergedOpen)}
onClick={() => !disabled && handleOpenChange(!mergedOpen)}
asChild
>
<div
@@ -116,7 +116,7 @@ const PureSelect = ({
</div>
</PortalToFollowElemTrigger>
<PortalToFollowElemContent className={cn(
'z-10',
'z-[9999]',
popupWrapperClassName,
)}>
<div