Fix dismissable layer regression (#22995)

* reset several dropdown and context menus to non-modal

* add specific e2e test to confirm pointer events bug
This commit is contained in:
Josh Hawkins
2026-04-24 17:24:24 -06:00
committed by GitHub
parent 434ef358a2
commit d8f70b7fed
11 changed files with 161 additions and 11 deletions
@@ -342,7 +342,7 @@ function ModelCard({ config, onClick, onUpdate, onDelete }: ModelCardProps) {
{config.name}
</div>
<div className="absolute bottom-2 right-2 z-40">
<DropdownMenu>
<DropdownMenu modal={false}>
<DropdownMenuTrigger asChild onClick={(e) => e.stopPropagation()}>
<BlurredIconButton>
<FiMoreVertical className="size-5 text-white" />
@@ -698,7 +698,7 @@ function LibrarySelector({
regexErrorMessage={t("description.invalidName")}
/>
<DropdownMenu>
<DropdownMenu modal={false}>
<DropdownMenuTrigger asChild>
<Button className="flex justify-between smart-capitalize">
{pageTitle}