diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html index bf6b7dcd..fd16cfc2 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.html @@ -234,6 +234,7 @@ #stickerSelector [stickerHistory]="getStickerHistory()" (selectedSticker)="onSelectedSticker($event)" + (closeSticker)="onShowToggleStickerSelector()" class="sticker-selector-zone" >
diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts index ca55a0e8..6c6fa996 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts @@ -341,6 +341,10 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { this.selectedSticker = undefined; this.firstcheckReadHere = true; + + if (!!this.chatForm) { + this.chatForm.replyForm.reset(); + } } get _roomUserInfos() { diff --git a/projects/ucap-webmessenger-ui/src/lib/components/sticker-selector.component.ts b/projects/ucap-webmessenger-ui/src/lib/components/sticker-selector.component.ts index b2e221f1..92b0ae0d 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/sticker-selector.component.ts +++ b/projects/ucap-webmessenger-ui/src/lib/components/sticker-selector.component.ts @@ -18,6 +18,9 @@ export class StickerSelectorComponent implements OnInit { @Output() selectedSticker = new EventEmitter