fix up the textbox after hitting enter

This commit is contained in:
Matthew Hodgson 2015-11-20 17:09:28 +00:00
parent a04b34b6b2
commit 2e32383570

View file

@ -332,6 +332,7 @@ module.exports = {
}); });
}); });
this.refs.textarea.value = ''; this.refs.textarea.value = '';
this.resizeInput();
ev.preventDefault(); ev.preventDefault();
}, },