perf(14-01): add GPU promotion and containment to all scroll containers
- contain: layout style on :host of all 6 scroll-heavy components - contain: paint + will-change: transform on all scroll containers for GPU compositing - content-visibility: auto + contain-intrinsic-size on .album-card for off-screen skip - cover-grid, track-list, queue-panel, artists-view, genres-view, playlist-view
This commit is contained in:
@@ -227,12 +227,15 @@ export class GenresView
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
contain: layout style;
|
||||
}
|
||||
|
||||
.grid-scroll-container {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
contain: paint;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
lit-virtualizer {
|
||||
|
||||
Reference in New Issue
Block a user