perfect-scrollbar is applied

This commit is contained in:
병준 박 2019-11-15 11:28:44 +09:00
parent aba846cce7
commit 7c0f212b8a
2 changed files with 34 additions and 30 deletions

View File

@ -65,24 +65,26 @@
</mat-menu> </mat-menu>
</div> </div>
<div *ngIf="!isShowSearch" class="search-result" style="overflow: auto;"> <div *ngIf="!isShowSearch" class="search-result" style="overflow: auto;">
<ucap-group-expansion-panel <perfect-scrollbar>
#groupExpansionPanel <ucap-group-expansion-panel
[groupBuddyList]="groupBuddyList$ | async" #groupExpansionPanel
[favoritBuddyList]="favoritBuddyList$ | async" [groupBuddyList]="groupBuddyList$ | async"
[myProfileInfo]="loginRes.userInfo" [favoritBuddyList]="favoritBuddyList$ | async"
(more)="onMoreGroup($event)" [myProfileInfo]="loginRes.userInfo"
> (more)="onMoreGroup($event)"
<ucap-profile-user-list-item
*ucapGroupExpansionPanelItem="let userInfo"
[userInfo]="userInfo"
[presence]="getStatusBulkInfo(userInfo) | async"
[sessionVerinfo]="sessionVerinfo"
(click)="onSelectBuddy(userInfo)"
(openProfile)="onClickOpenProfile($event)"
(contextmenu)="onContextMenuProfile($event, userInfo)"
> >
</ucap-profile-user-list-item> <ucap-profile-user-list-item
</ucap-group-expansion-panel> *ucapGroupExpansionPanelItem="let userInfo"
[userInfo]="userInfo"
[presence]="getStatusBulkInfo(userInfo) | async"
[sessionVerinfo]="sessionVerinfo"
(click)="onSelectBuddy(userInfo)"
(openProfile)="onClickOpenProfile($event)"
(contextmenu)="onContextMenuProfile($event, userInfo)"
>
</ucap-profile-user-list-item>
</ucap-group-expansion-panel>
</perfect-scrollbar>
</div> </div>
<div *ngIf="isShowSearch" class="search-result"> <div *ngIf="isShowSearch" class="search-result">
<div *ngIf="searchProcessing"> <div *ngIf="searchProcessing">

View File

@ -46,19 +46,21 @@
<mat-progress-bar mode="indeterminate"></mat-progress-bar> <mat-progress-bar mode="indeterminate"></mat-progress-bar>
</div> </div>
<div *ngIf="!isShowSearch" class="search-list"> <div *ngIf="!isShowSearch" class="search-list">
<cdk-virtual-scroll-viewport itemSize="20" style="height: 100%;"> <perfect-scrollbar>
<ucap-profile-user-list-item <cdk-virtual-scroll-viewport itemSize="20" fxFlexFill>
*cdkVirtualFor="let userInfo of selectedDepartmentUserInfoList" <ucap-profile-user-list-item
[userInfo]="userInfo" *cdkVirtualFor="let userInfo of selectedDepartmentUserInfoList"
[checkable]="true" [userInfo]="userInfo"
[sessionVerinfo]="sessionVerinfo" [checkable]="true"
[selectedUserList]="selectedUserList" [sessionVerinfo]="sessionVerinfo"
[isChecked]="getCheckedUser(userInfo)" [selectedUserList]="selectedUserList"
(checkUser)="onCheckUser($event)" [isChecked]="getCheckedUser(userInfo)"
> (checkUser)="onCheckUser($event)"
Loading... >
</ucap-profile-user-list-item> Loading...
</cdk-virtual-scroll-viewport> </ucap-profile-user-list-item>
</cdk-virtual-scroll-viewport>
</perfect-scrollbar>
<!-- <ucap-profile-user-list-item <!-- <ucap-profile-user-list-item
*ngFor="let userInfo of selectedDepartmentUserInfoList$ | async" *ngFor="let userInfo of selectedDepartmentUserInfoList$ | async"
[userInfo]="userInfo" [userInfo]="userInfo"