Scroll todo list if it overflows grid_layout (#24000)

This commit is contained in:
karwosts 2025-02-02 23:09:01 -08:00 committed by GitHub
parent 8b0e6eed3a
commit b7c7d0b4b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,7 +286,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
this._todoListSupportsFeature(
TodoListEntityFeature.MOVE_TODO_ITEM
)
? html`<ha-button-menu @closed=${stopPropagation}>
? html`<ha-button-menu @closed=${stopPropagation} fixed>
<ha-icon-button
slot="trigger"
.path=${mdiDotsVertical}
@ -330,7 +330,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
${this._todoListSupportsFeature(
TodoListEntityFeature.DELETE_TODO_ITEM
)
? html`<ha-button-menu @closed=${stopPropagation}>
? html`<ha-button-menu @closed=${stopPropagation} fixed>
<ha-icon-button
slot="trigger"
.path=${mdiDotsVertical}
@ -648,6 +648,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
ha-card {
height: 100%;
box-sizing: border-box;
overflow-y: auto;
}
.has-header {