We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d716a79 commit 0b903f4Copy full SHA for 0b903f4
src/dashboard/Data/Browser/DataBrowser.react.js
@@ -106,7 +106,16 @@ export default class DataBrowser extends React.Component {
106
return;
107
}
108
if (this.state.editing) {
109
- return;
+ switch (e.keyCode) {
110
+ case 27: // ESC
111
+ this.setState({
112
+ editing: false
113
+ });
114
+ e.preventDefault();
115
+ break;
116
+ default:
117
+ return;
118
+ }
119
120
if (!this.state.current) {
121
0 commit comments