#시험결과분석 42
This commit is contained in:
parent
e7d43c7dcd
commit
abdcf44af1
|
@ -1708,6 +1708,9 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||
}
|
||||
onSelectedSticker(stickerInfo: StickerFilesInfo) {
|
||||
this.selectedSticker = stickerInfo;
|
||||
if (!!this.chatForm) {
|
||||
this.chatForm.replyInput.nativeElement.focus();
|
||||
}
|
||||
}
|
||||
setStickerHistory(sticker: StickerFilesInfo) {
|
||||
const history = this.localStorageService.get<string[]>(KEY_STICKER_HISTORY);
|
||||
|
@ -1744,7 +1747,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit {
|
|||
} else {
|
||||
setTimeout(() => {
|
||||
if (!!this.chatSearch) {
|
||||
this.chatSearch.setFocus();
|
||||
this.chatSearch.inputSearch.nativeElement.focus();
|
||||
}
|
||||
}, 500);
|
||||
}
|
||||
|
|
|
@ -72,8 +72,4 @@ export class SearchComponent implements OnInit {
|
|||
onClickSearchAndPrev() {
|
||||
this.searchAndPrev.emit();
|
||||
}
|
||||
|
||||
setFocus() {
|
||||
this.inputSearch.nativeElement.focus();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user