diff options
| author | Nate Sesti <sestinj@gmail.com> | 2023-08-02 21:54:22 -0700 | 
|---|---|---|
| committer | Nate Sesti <sestinj@gmail.com> | 2023-08-02 21:54:22 -0700 | 
| commit | 06782224e42dfd6e18e242781bb8c1346a7b5db1 (patch) | |
| tree | e2be06d774b2fb2a64db243566219c5ed0c64920 /extension/react-app/src | |
| parent | 65747716b3a2fd58843f63d66a0f25a81aa504d8 (diff) | |
| download | sncontinue-06782224e42dfd6e18e242781bb8c1346a7b5db1.tar.gz sncontinue-06782224e42dfd6e18e242781bb8c1346a7b5db1.tar.bz2 sncontinue-06782224e42dfd6e18e242781bb8c1346a7b5db1.zip  | |
keyboard shortcuts
Diffstat (limited to 'extension/react-app/src')
| -rw-r--r-- | extension/react-app/src/components/ComboBox.tsx | 4 | 
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 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);  | 
