From a398b37380f000da8e5d0c510617dcc323010388 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Mon, 4 Sep 2023 12:39:22 +0200 Subject: [PATCH] Fix combobox selecting wrong item on iOS (#17812) --- src/components/ha-combo-box.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/ha-combo-box.ts b/src/components/ha-combo-box.ts index db281335c633..9c50d0a4bbb2 100644 --- a/src/components/ha-combo-box.ts +++ b/src/components/ha-combo-box.ts @@ -244,7 +244,6 @@ export class HaComboBox extends LitElement { ); if (overlay) { - overlay.setAttribute("required-vertical-space", "0"); this._removeInert(overlay); } this._observeBody(); @@ -331,7 +330,7 @@ export class HaComboBox extends LitElement { } vaadin-combo-box-light { position: relative; - --vaadin-combo-box-overlay-max-height: calc(45vh); + --vaadin-combo-box-overlay-max-height: calc(45vh - 56px); } ha-textfield { width: 100%;