From c65acf2736c705bea4eff77b45823131a9f3410f Mon Sep 17 00:00:00 2001 From: Hunter Trujillo Date: Wed, 5 Apr 2017 10:30:44 -0600 Subject: [PATCH] Blur the cell header edit field when Esc is pressed. --- ui/src/shared/components/NameableGraph.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/shared/components/NameableGraph.js b/ui/src/shared/components/NameableGraph.js index 8a1f06f0d..f56960f94 100644 --- a/ui/src/shared/components/NameableGraph.js +++ b/ui/src/shared/components/NameableGraph.js @@ -81,7 +81,7 @@ const NameableGraph = React.createClass({ onUpdateCell(cell)() } if (evt.key === 'Escape') { - onEditCell(x, y, false)() + onEditCell(x, y, true)() } }} />