Blur the cell header edit field when Esc is pressed.
parent
bace483af4
commit
c65acf2736
|
@ -81,7 +81,7 @@ const NameableGraph = React.createClass({
|
|||
onUpdateCell(cell)()
|
||||
}
|
||||
if (evt.key === 'Escape') {
|
||||
onEditCell(x, y, false)()
|
||||
onEditCell(x, y, true)()
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue