diff --git a/webapp/channels/src/components/autosize_textarea.tsx b/webapp/channels/src/components/autosize_textarea.tsx index 83a30afb07..d9df0e5ef3 100644 --- a/webapp/channels/src/components/autosize_textarea.tsx +++ b/webapp/channels/src/components/autosize_textarea.tsx @@ -129,6 +129,8 @@ export class AutosizeTextarea extends React.PureComponent { height: 0, }; + Reflect.deleteProperty(otherProps, 'onWidthChange'); + if (this.height <= 0) { // Set an initial number of rows so that the textarea doesn't appear too large when its first rendered heightProps.rows = 1;