Skip to content

Commit 6ba3848

Browse files
committed
fix(web): preserve settings search on composing escape
1 parent 6c5296a commit 6ba3848

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/web/src/components/settings/SettingsSidebarNav.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,11 @@ export function SettingsSidebarNav({ pathname }: { pathname: string }) {
272272
)}
273273
>
274274
<SearchIcon className="size-4 shrink-0 text-sidebar-muted-foreground/80" />
275+
{/* Native search inputs clear on Escape even during IME composition. */}
275276
<SidebarInput
276277
ref={searchInputRef}
277278
nativeInput
278-
type="search"
279+
type="text"
279280
value={query}
280281
onChange={(event) => {
281282
setQuery(event.currentTarget.value);

0 commit comments

Comments
 (0)