reset input height after sending comment

This commit is contained in:
igoradamenko
2018-02-13 01:15:09 +02:00
parent e4e580c55a
commit 4e3b931e38
2 changed files with 2 additions and 1 deletions
@@ -11,7 +11,7 @@
padding: 0 10px;
font-size: 16px;
border: 0;
background: #00aaaa;
background: #0aa;
border-radius: 0 $borderRadius $borderRadius 0;
color: #fff;
cursor: pointer;
+1
View File
@@ -46,6 +46,7 @@ export default class Input extends Component {
}
this.fieldNode.value = '';
this.setState({ height: null });
})
.catch(() => {
// TODO: do smth?