summaryrefslogtreecommitdiff
path: root/extension/react-app
diff options
context:
space:
mode:
Diffstat (limited to 'extension/react-app')
-rw-r--r--extension/react-app/src/components/ComboBox.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index 18e150e5..9017f19c 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();
+
+ downshiftProps.setInputValue("/edit ");
}
};
window.addEventListener("message", handler);