diff --git a/frontend/src/components/editor/Cell.tsx b/frontend/src/components/editor/Cell.tsx index edecf342dc8..33d8ab0fb99 100644 --- a/frontend/src/components/editor/Cell.tsx +++ b/frontend/src/components/editor/Cell.tsx @@ -480,11 +480,17 @@ const CellComponent = ( }); useKeydownOnElement(editing ? cellRef : null, { - ArrowDown: () => { + ArrowDown: (evt) => { + if (evt && Events.fromInput(evt)) { + return false; + } moveToNextCell({ cellId, before: false, noCreate: true }); return true; }, - ArrowUp: () => { + ArrowUp: (evt) => { + if (evt && Events.fromInput(evt)) { + return false; + } moveToNextCell({ cellId, before: true, noCreate: true }); return true; },