We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e67b5eb commit 63dcc89Copy full SHA for 63dcc89
packages/jupyter-ai/src/components/chat-input.tsx
@@ -235,6 +235,11 @@ export function ChatInput(props: ChatInputProps): JSX.Element {
235
236
const inputExists = !!input.trim();
237
function handleKeyDown(event: React.KeyboardEvent<HTMLDivElement>) {
238
+ if (['ArrowDown', 'ArrowUp'].includes(event.key) && !open) {
239
+ event.stopPropagation();
240
+ return;
241
+ }
242
+
243
if (event.key !== 'Enter') {
244
return;
245
}
0 commit comments