mirror of https://github.com/bitwarden/web.git
Browse Source
* [PS-515] Use virtual scroll to speed up long user lists WIP: this is currently showing a large blank area under the last user. Need to figure out why virtual-scroll-spacer is sized too large. * Fix cdk-virtual-scroll styling * Format csp for readability * Set Viewport height The viewport height was * Calculate viewport height from item size Virtual scroll viewports need set heights, we can emulate the old modal behavior by calculating an approximate height required by the viewport to display all items. It will not go beyond the window due to the `.modal-dialog-scrollable` class * Remove modal css changes * pr reviewpull/1683/head
8 changed files with 131 additions and 54 deletions
@ -0,0 +1,13 @@
@@ -0,0 +1,13 @@
|
||||
import { ScrollingModule } from "@angular/cdk/scrolling"; |
||||
import { NgModule } from "@angular/core"; |
||||
|
||||
import { SharedModule } from "../../shared.module"; |
||||
|
||||
import { EntityUsersComponent } from "./entity-users.component"; |
||||
|
||||
@NgModule({ |
||||
imports: [SharedModule, ScrollingModule], |
||||
declarations: [EntityUsersComponent], |
||||
exports: [EntityUsersComponent], |
||||
}) |
||||
export class OrganizationManageModule {} |
||||
Loading…
Reference in new issue