diff --git a/src/app/workspace/cmdinput/textareainput.tsx b/src/app/workspace/cmdinput/textareainput.tsx index abac0f0a..354cae50 100644 --- a/src/app/workspace/cmdinput/textareainput.tsx +++ b/src/app/workspace/cmdinput/textareainput.tsx @@ -652,7 +652,7 @@ class TextAreaInput extends React.Component<{ screen: Screen; onHeightChange: () } } } - const isMainInputFocused = this.mainInputFocused.get(); + const isMainInputFocused = inputModel.hasFocus() && this.mainInputFocused.get(); const isHistoryFocused = this.historyFocused.get(); return (