summaryrefslogtreecommitdiff
path: root/extension/react-app
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-02 22:10:20 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-02 22:10:20 -0700
commit4c1e87f39725aa855493ab7c31ac21a65e7e931c (patch)
treea95f375caf98b56cc7894f435f967dfed66df434 /extension/react-app
parent06782224e42dfd6e18e242781bb8c1346a7b5db1 (diff)
downloadsncontinue-4c1e87f39725aa855493ab7c31ac21a65e7e931c.tar.gz
sncontinue-4c1e87f39725aa855493ab7c31ac21a65e7e931c.tar.bz2
sncontinue-4c1e87f39725aa855493ab7c31ac21a65e7e931c.zip
more keyboard shortcuts work
Diffstat (limited to 'extension/react-app')
-rw-r--r--extension/react-app/src/components/ComboBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index 91672b87..3b20cd8d 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -258,7 +258,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
} else if (event.data.type === "focusContinueInputWithEdit") {
inputRef.current!.focus();
- inputRef.current!.value = "/edit";
+ downshiftProps.setInputValue("/edit");
}
};
window.addEventListener("message", handler);