reset input height after sending comment
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -46,6 +46,7 @@ export default class Input extends Component {
|
||||
}
|
||||
|
||||
this.fieldNode.value = '';
|
||||
this.setState({ height: null });
|
||||
})
|
||||
.catch(() => {
|
||||
// TODO: do smth?
|
||||
|
||||
Reference in New Issue
Block a user