From ace42c6705d9f523f6f7af8cc22d0e6a3b5eeace Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Fri, 17 Sep 2021 21:33:24 -0400
Subject: stop propagation of keybaord events in EquationBox to allow cursor
 controls w/o moving the document

---
 src/client/views/nodes/EquationBox.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/client/views/nodes/EquationBox.tsx')

diff --git a/src/client/views/nodes/EquationBox.tsx b/src/client/views/nodes/EquationBox.tsx
index dacafcdf4..11ef6562f 100644
--- a/src/client/views/nodes/EquationBox.tsx
+++ b/src/client/views/nodes/EquationBox.tsx
@@ -88,6 +88,7 @@ export class EquationBox extends ViewBoxBaseComponent<FieldViewProps, EquationDo
             style={{
                 pointerEvents: !this.props.isSelected() ? "none" : undefined,
             }}
+            onKeyDown={e => e.stopPropagation()}
         >
             <EquationEditor ref={this._ref}
                 value={this.dataDoc.text || "x"}
-- 
cgit v1.2.3-70-g09d2

