+
{{'noItemsInList' | i18n}}
@@ -63,17 +63,17 @@
-
-
+
diff --git a/src/popup/vault/ciphers.component.ts b/src/popup/vault/ciphers.component.ts
index b1e9da5e7e..1c221bb299 100644
--- a/src/popup/vault/ciphers.component.ts
+++ b/src/popup/vault/ciphers.component.ts
@@ -54,6 +54,7 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On
private selectedTimeout: number;
private preventSelected = false;
private applySavedState = true;
+ private scrollingContainer = 'cdk-virtual-scroll-viewport';
constructor(searchService: SearchService, private route: ActivatedRoute,
private router: Router, private location: Location,
@@ -63,7 +64,6 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On
private folderService: FolderService, private collectionService: CollectionService,
private platformUtilsService: PlatformUtilsService, private cipherService: CipherService) {
super(searchService);
- this.pageSize = 100;
this.applySavedState = (window as any).previousPopupUrl != null &&
!(window as any).previousPopupUrl.startsWith('/ciphers');
}
@@ -132,7 +132,8 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On
}
if (this.applySavedState && this.state != null) {
- window.setTimeout(() => this.popupUtils.setContentScrollY(window, this.state.scrollY), 0);
+ window.setTimeout(() => this.popupUtils.setContentScrollY(window, this.state.scrollY,
+ this.scrollingContainer), 0);
}
this.stateService.remove(ComponentId);
if (queryParamsSub != null) {
@@ -227,7 +228,7 @@ export class CiphersComponent extends BaseCiphersComponent implements OnInit, On
private async saveState() {
this.state = {
- scrollY: this.popupUtils.getContentScrollY(window),
+ scrollY: this.popupUtils.getContentScrollY(window, this.scrollingContainer),
searchText: this.searchText,
};
await this.stateService.save(ComponentId, this.state);
diff --git a/src/popup/vault/current-tab.component.html b/src/popup/vault/current-tab.component.html
index 5400c82cc0..c4455992cd 100644
--- a/src/popup/vault/current-tab.component.html
+++ b/src/popup/vault/current-tab.component.html
@@ -27,9 +27,10 @@
{{loginCiphers.length}}
-
-
+
+
{{'autoFillInfo' | i18n}}
@@ -54,8 +55,8 @@
{{identityCiphers.length}}