1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Merge pull request #96 from yosmoc/tab_tag_submit

submit the tag when receiving 'tab' key
This commit is contained in:
Dick Choi
2016-08-25 13:01:42 +09:00
committed by GitHub

View File

@@ -22,6 +22,10 @@ class TagSelect extends React.Component {
handleNewTagInputKeyDown (e) {
switch (e.keyCode) {
case 9:
e.preventDefault()
this.submitTag()
break
case 13:
this.submitTag()
break