fix(multiline input): autoresize after initial render too
parent
b8be9732d5
commit
1809d67813
|
@ -57,6 +57,7 @@ const factory = (FontIcon) => {
|
|||
componentDidMount () {
|
||||
if (this.props.multiline) {
|
||||
window.addEventListener('resize', this.handleAutoresize);
|
||||
this.handleAutoresize();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue