Skip to content

Commit

Permalink
Fix combobox selecting wrong item on iOS (home-assistant#17812)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramkragten committed Sep 4, 2023
1 parent 321f35f commit a398b37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/ha-combo-box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ export class HaComboBox extends LitElement {
);

if (overlay) {
overlay.setAttribute("required-vertical-space", "0");
this._removeInert(overlay);
}
this._observeBody();
Expand Down Expand Up @@ -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%;
Expand Down

0 comments on commit a398b37

Please sign in to comment.