fix message redaction being jaggy

This commit is contained in:
Nicolas Constant 2019-08-16 22:37:19 -04:00
parent 113cefb36f
commit 3cc0f8a6fc
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 1 additions and 1 deletions

View File

@ -612,7 +612,7 @@ export class CreateStatusComponent implements OnInit, OnDestroy {
if (scrolling > 110) {
const isVisible = this.checkVisible(this.footerElement.nativeElement);
this.replyElement.nativeElement.style.height = `0px`;
//this.replyElement.nativeElement.style.height = `0px`;
this.replyElement.nativeElement.style.height = `${this.replyElement.nativeElement.scrollHeight}px`;
if (isVisible) {