Bug on scroll chat msg solve on share message

This commit is contained in:
Eudes Inácio
2022-04-22 16:39:46 +01:00
parent cfb969dcc2
commit ecdf34edbc
4 changed files with 12 additions and 9 deletions
@@ -45,9 +45,9 @@
</ion-header>
<ion-content>
<div (click)="handleClick()" class="messages" #scrollMe>
<div class="messages-list-item-wrapper container-width-100"
<ion-list>
<div class="messages-list-item-wrapper container-width-100"
*ngFor="let msg of wsChatMethodsService.getDmRoom(this.roomId).messages; let last = last"
[class.messages-list-item-wrapper-active]="msg._id == selectedMsgId">
<div (press)="handlePress(msg._id)" class='message-container incoming-{{msg.u.username!=sessionStore.user.UserName}}'
@@ -204,6 +204,7 @@
Apagou a mensagem
</div>
</div>
</ion-list>
</div>
<ion-fab horizontal="end" vertical="bottom" slot="fixed">
<ion-fab-button *ngIf="scrollToBottomBtn" (click)="scrollToBottomClicked()" color="light" size="small">