Fix combobox selecting wrong item on iOS (#17812)

This commit is contained in:
Bram Kragten 2023-09-04 12:39:22 +02:00 committed by GitHub
parent 321f35f30e
commit a398b37380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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%;