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