From 2454b51d5111d0890cf294d8d01f55e88e5f673f Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Sun, 9 Jul 2023 10:00:18 +1000 Subject: [PATCH] fix(ui): escape on embedding popup closes it --- .../src/features/embedding/components/ParamEmbeddingPopover.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/invokeai/frontend/web/src/features/embedding/components/ParamEmbeddingPopover.tsx b/invokeai/frontend/web/src/features/embedding/components/ParamEmbeddingPopover.tsx index 9e4ea8c88d..b7de3a8d99 100644 --- a/invokeai/frontend/web/src/features/embedding/components/ParamEmbeddingPopover.tsx +++ b/invokeai/frontend/web/src/features/embedding/components/ParamEmbeddingPopover.tsx @@ -115,6 +115,7 @@ const ParamEmbeddingPopover = (props: Props) => { nothingFound="No matching Embeddings" itemComponent={IAIMantineSelectItemWithTooltip} disabled={data.length === 0} + onDropdownClose={onClose} filter={(value, item: SelectItem) => item.label ?.toLowerCase()