Skip to content

Commit

Permalink
Fix virtualizer with v2.0.10 (#18584)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten authored Nov 9, 2023
1 parent 1c16bd5 commit 4933413
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@lit-labs/context": "0.4.1",
"@lit-labs/motion": "1.0.6",
"@lit-labs/observers": "2.0.2",
"@lit-labs/virtualizer": "2.0.8",
"@lit-labs/virtualizer": "2.0.10",
"@lrnwebcomponents/simple-tooltip": "7.0.18",
"@material/chips": "=14.0.0-canary.53b3cad2f.0",
"@material/data-table": "=14.0.0-canary.53b3cad2f.0",
Expand Down
1 change: 1 addition & 0 deletions src/components/media-player/ha-media-player-browse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,7 @@ export class HaMediaPlayerBrowse extends LitElement {
overflow-y: auto;
box-sizing: border-box;
height: 100%;
position: relative;
}
/* HEADER */
Expand Down
1 change: 1 addition & 0 deletions src/dialogs/quick-bar/ha-quick-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ export class QuickBar extends LitElement {
haStyleDialog,
css`
mwc-list {
position: relative;
--mdc-list-vertical-padding: 0;
}
.heading {
Expand Down
3 changes: 3 additions & 0 deletions src/panels/config/integrations/dialog-add-integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,9 @@ class AddIntegrationDialog extends LitElement {
justify-content: center;
margin: 24px 0;
}
mwc-list {
position: relative;
}
lit-virtualizer {
contain: size layout !important;
}
Expand Down
3 changes: 3 additions & 0 deletions src/panels/config/voice-assistants/dialog-expose-entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ class DialogExposeEntity extends LitElement {
--mdc-dialog-min-width: 500px;
--mdc-dialog-max-width: 600px;
}
mwc-list {
position: relative;
}
lit-virtualizer {
height: 500px;
}
Expand Down
1 change: 0 additions & 1 deletion src/panels/logbook/ha-panel-logbook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ export class HaPanelLogbook extends LitElement {
margin-inline-start: initial;
max-width: 100%;
direction: var(--direction);
margin-bottom: -5px;
}
:host([narrow]) ha-date-range-picker {
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2122,13 +2122,13 @@ __metadata:
languageName: node
linkType: hard

"@lit-labs/virtualizer@npm:2.0.8":
version: 2.0.8
resolution: "@lit-labs/virtualizer@npm:2.0.8"
"@lit-labs/virtualizer@npm:2.0.10":
version: 2.0.10
resolution: "@lit-labs/virtualizer@npm:2.0.10"
dependencies:
lit: "npm:^3.0.0"
lit: "npm:^2 || ^3"
tslib: "npm:^2.0.3"
checksum: 124b3270200099de4153be5dae33fa38e479ac396a687cd2dac6ce27535c3294d25d502a739df726c7bee69a7138ee92ae4f89918b7b47c0a1a0e9de59ab1d1f
checksum: 30f08ee582809d6ef27b50c2cd799ebe362dcfd276ef511c0ebaf5707fd75152cb8705c4125c775a7ea943a76d7fa162f0300a33cf75d8aa701387a3ffa41d56
languageName: node
linkType: hard

Expand Down Expand Up @@ -9637,7 +9637,7 @@ __metadata:
"@lit-labs/context": "npm:0.4.1"
"@lit-labs/motion": "npm:1.0.6"
"@lit-labs/observers": "npm:2.0.2"
"@lit-labs/virtualizer": "npm:2.0.8"
"@lit-labs/virtualizer": "npm:2.0.10"
"@lokalise/node-api": "npm:12.0.0"
"@lrnwebcomponents/simple-tooltip": "npm:7.0.18"
"@material/chips": "npm:=14.0.0-canary.53b3cad2f.0"
Expand Down

0 comments on commit 4933413

Please sign in to comment.