#시험결과분석 42

This commit is contained in:
leejinho 2020-02-10 14:33:04 +09:00
parent e7d43c7dcd
commit abdcf44af1
2 changed files with 4 additions and 5 deletions

View File

@ -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);
}

View File

@ -72,8 +72,4 @@ export class SearchComponent implements OnInit {
onClickSearchAndPrev() {
this.searchAndPrev.emit();
}
setFocus() {
this.inputSearch.nativeElement.focus();
}
}