Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(email): stop backspace from deselecting an inbox in the selector (#3780)

gbirmanc4aebab6a4ae
diff --git a/js/app/packages/app/component/next-soup/soup-view/filters-bar/searchable-multi-select.tsx b/js/app/packages/app/component/next-soup/soup-view/filters-bar/searchable-multi-select.tsx
index 2c7ff22e9a..7a1061503e 100644
--- a/js/app/packages/app/component/next-soup/soup-view/filters-bar/searchable-multi-select.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/filters-bar/searchable-multi-select.tsx
@@ -177,6 +177,7 @@ export const SearchableMultiSelect = (props: SearchableMultiSelectProps) => {
optionLabel="label"
allowsEmptyCollection
virtualized
+ removeOnBackspace={false}
placement={props.placement ?? 'bottom-start'}
gutter={props.gutter ?? 4}
>
@@ -308,6 +309,7 @@ export const SearchableMultiSelectInline = (
optionLabel="label"
allowsEmptyCollection
virtualized
+ removeOnBackspace={false}
>
<div class="flex items-center gap-2 px-3 py-2 border-b border-edge-muted">
<SearchIcon class="size-3.5 text-ink-muted shrink-0" />