From 06782224e42dfd6e18e242781bb8c1346a7b5db1 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Wed, 2 Aug 2023 21:54:22 -0700 Subject: keyboard shortcuts --- extension/react-app/src/components/ComboBox.tsx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'extension/react-app') diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx index ba87cb9f..91672b87 100644 --- a/extension/react-app/src/components/ComboBox.tsx +++ b/extension/react-app/src/components/ComboBox.tsx @@ -255,6 +255,10 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => { const handler = (event: any) => { if (event.data.type === "focusContinueInput") { inputRef.current!.focus(); + } else if (event.data.type === "focusContinueInputWithEdit") { + inputRef.current!.focus(); + + inputRef.current!.value = "/edit"; } }; window.addEventListener("message", handler); -- cgit v1.2.3-70-g09d2