fix(multiline input): autoresize after initial render too

old
Simon Selg 2016-08-04 03:34:28 +02:00
parent b8be9732d5
commit 1809d67813
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ const factory = (FontIcon) => {
componentDidMount () {
if (this.props.multiline) {
window.addEventListener('resize', this.handleAutoresize);
this.handleAutoresize();
}
}