Blur the cell header edit field when Esc is pressed.

pull/1189/head
Hunter Trujillo 2017-04-05 10:30:44 -06:00
parent bace483af4
commit c65acf2736
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ const NameableGraph = React.createClass({
onUpdateCell(cell)()
}
if (evt.key === 'Escape') {
onEditCell(x, y, false)()
onEditCell(x, y, true)()
}
}}
/>