1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 03:03:43 +00:00

Use custom virtual scroll strategy (#2002)

* update jslib

* Use custom virtual scroll strategy
This commit is contained in:
Thomas Rittson
2021-08-11 12:52:44 +10:00
committed by GitHub
parent 090e9f35ae
commit 69c892807c
5 changed files with 8 additions and 4 deletions

View File

@@ -63,7 +63,8 @@
</button>
</ng-container>
</div>
<cdk-virtual-scroll-viewport itemSize="46" *ngIf="ciphers.length" #virtualScrollViewport>
<cdk-virtual-scroll-viewport itemSize="46" minBufferPx="400" maxBufferPx="600" *ngIf="ciphers.length"
#virtualScrollViewport>
<div class="box list only-list">
<div class="box-header">
{{groupingTitle}}