hide preview on input

This commit is contained in:
igoradamenko
2018-05-03 02:53:21 +03:00
parent 37f15d9fa4
commit d3a9989533
+4 -1
View File
@@ -30,7 +30,10 @@ export default class Input extends Component {
autoResize() {
this.fieldNode.style.height = '';
this.setState({ height: this.fieldNode.scrollHeight });
this.setState({
height: this.fieldNode.scrollHeight,
preview: null,
});
}
send(e) {