diff --git a/web/app/components/input/input.jsx b/web/app/components/input/input.jsx index cffdbd7b..0726d6ae 100644 --- a/web/app/components/input/input.jsx +++ b/web/app/components/input/input.jsx @@ -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) {