[58 사진 마우스 오버 시 팝업 발생] :: 이미지에 오버했을 경우 실제 파일명이 말풍선으로 출력될 수 있도로 수정.

[69 목록 내린 후 다른 부서 선택 시 흰화면 보여짐] :: 다른부서 검색 후 스크롤을 올려주도록 수정.
This commit is contained in:
leejinho 2019-11-27 16:52:37 +09:00
parent 2e984a2fa2
commit c8731ea256
3 changed files with 16 additions and 2 deletions

View File

@ -89,6 +89,9 @@ export class OrganizationComponent
@ViewChild('cvsvDeptUser', { static: false })
cvsvDeptUser: CdkVirtualScrollViewport;
@ViewChild(PerfectScrollbarDirective, { static: false })
psDirectiveRef?: PerfectScrollbarDirective;
companyList$: Observable<Company[]>;
companyCode: string;
@ -153,6 +156,14 @@ export class OrganizationComponent
),
map(list => {
this.selectedDepartmentUserInfoList = list;
}),
tap(() => {
if (!!this.cvsvDeptUser) {
this.cvsvDeptUser.scrollToOffset(0);
}
if (!!this.psDirectiveRef) {
this.psDirectiveRef.update();
}
})
)
.subscribe();

View File

@ -85,7 +85,6 @@
<div
*ngFor="let fileInfo of filteredList"
class="img-item"
matTooltip="fileInfo.info.name"
(click)="onClickImage($event, fileInfo)"
>
<dl>
@ -100,7 +99,10 @@
"
></div>
<ng-template #thumb>
<img [src]="fileInfo.eventInfo.sentMessageJson.thumbUrl" />
<img
[src]="fileInfo.eventInfo.sentMessageJson.thumbUrl"
[matTooltip]="fileInfo.info.name"
/>
</ng-template>
<ng-template #icon>
<div

View File

@ -492,6 +492,7 @@ export class CreateChatDialogComponent implements OnInit, OnDestroy {
this.selectedUserList = this.selectedUserList.filter(
item => item.seq !== userInfo.seq
);
this.changeDetectorRef.detectChanges();
}
getBtnValid() {