We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 471dddd commit 56cd082Copy full SHA for 56cd082
src/index.js
@@ -42,7 +42,8 @@ export default class EdiText extends Component {
42
}
43
44
_handleEnter = e => {
45
- if (e.keyCode === 'Enter' || e.code === 'Enter' || e.keyCode === 27) {
+ if (e.keyCode === 'Enter' || e.code === 'Enter' || e.keyCode === 27
46
+ || e.keyCode === 13 || e.code === 'NumpadEnter') {
47
if (this.input.current) this.handleSave()
48
49
0 commit comments