forked from mystiq/hydrogen-web
don't make the composer shrink for now, timeline loses scroll position
This commit is contained in:
parent
c671596c6f
commit
8ffd98162c
1 changed files with 0 additions and 1 deletions
|
@ -117,7 +117,6 @@ export class MessageComposer extends TemplateView {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._rafResizeHandle = window.requestAnimationFrame(() => {
|
this._rafResizeHandle = window.requestAnimationFrame(() => {
|
||||||
this._input.style.height = "auto";
|
|
||||||
const scrollHeight = this._input.scrollHeight;
|
const scrollHeight = this._input.scrollHeight;
|
||||||
this._input.style.height = `${scrollHeight}px`;
|
this._input.style.height = `${scrollHeight}px`;
|
||||||
this._rafResizeHandle = undefined;
|
this._rafResizeHandle = undefined;
|
||||||
|
|
Loading…
Reference in a new issue