From b447627f5f6662b018e29e7769f5d02d3da2845c Mon Sep 17 00:00:00 2001 From: Chris Yang <18487241+ysm-dev@users.noreply.github.com> Date: Sat, 19 Sep 2026 21:43:58 +0900 Subject: [PATCH] fix(app): keep shortcuts search field focused while typing (#49779) Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com> --- packages/app/src/settings/keybinds/keybinds.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/app/src/settings/keybinds/keybinds.tsx b/packages/app/src/settings/keybinds/keybinds.tsx index 3db42134cf3..ddabfb90aa2 100644 --- a/packages/app/src/settings/keybinds/keybinds.tsx +++ b/packages/app/src/settings/keybinds/keybinds.tsx @@ -1,7 +1,8 @@ -import { For, Show, createEffect, createMemo, lazy, on, onCleanup } from "solid-js" +import { For, Show, createEffect, createMemo, on, onCleanup } from "solid-js" import { createStore } from "solid-js/store" import { makeEventListener } from "@solid-primitives/event-listener" import { Button } from "@opencode/ui/button" +import { Icon } from "@opencode/ui/icon" import { IconButton } from "@opencode/ui/icon-button" import { TextInput } from "@opencode/ui/text-input" import { showToast } from "@/shell/notifications/toast" @@ -17,8 +18,6 @@ import { useLanguage } from "@/runtime/i18n/language" import { useSettings } from "@/settings/model" import { SettingsList } from "@/settings/list" -const Icon = lazy(() => import("@opencode/ui/icon").then((module) => ({ default: module.Icon }))) - const IS_MAC = typeof navigator === "object" && /(Mac|iPod|iPhone|iPad)/.test(navigator.platform) const PALETTE_ID = "command.palette"