diff --git a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box.component.ts b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box.component.ts index e8f362b3..1030f7d7 100644 --- a/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box.component.ts +++ b/projects/ucap-webmessenger-ui-chat/src/lib/components/message-box.component.ts @@ -122,10 +122,6 @@ export class MessageBoxComponent implements OnInit, AfterViewInit { } ngAfterViewInit(): void { - this.logger.debug( - 'offsetHeight' + this.message.seq, - this.mbContainer.nativeElement.offsetHeight - ); this.elementRef.nativeElement.style.height = `${this.mbContainer.nativeElement.offsetHeight}px`; this.elementRef.nativeElement.style.maxHeight = `${this.mbContainer.nativeElement.offsetHeight}px`; this.mbContainer.nativeElement.classList.remove('hide');