don't make the composer shrink for now, timeline loses scroll position

This commit is contained in:
Bruno Windels 2021-11-05 17:48:44 +01:00
parent c671596c6f
commit 8ffd98162c

View File

@ -117,7 +117,6 @@ export class MessageComposer extends TemplateView {
return;
}
this._rafResizeHandle = window.requestAnimationFrame(() => {
this._input.style.height = "auto";
const scrollHeight = this._input.scrollHeight;
this._input.style.height = `${scrollHeight}px`;
this._rafResizeHandle = undefined;