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 2a556d99..388c69ab 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 @@ -1093,6 +1093,9 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { /** About Sticker */ onShowToggleStickerSelector() { this.isShowStickerSelector = !this.isShowStickerSelector; + if (!this.isShowStickerSelector) { + this.selectedSticker = null; + } } onSelectedSticker(stickerInfo: StickerFilesInfo) {