Skip to content

Commit

Permalink
fix: hide bib properly upon making a selecting #78
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-mota committed Jan 14, 2025
1 parent 7cba2bd commit 0556a81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/combobox/src/auro-combobox.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,6 @@ export class AuroCombobox extends LitElement {

// handle the menu event for an option selection
this.menu.addEventListener('auroMenu-selectedOption', () => {
// dropdown bib should hide when making a selection
this.hideBib();

if (this.menu.optionSelected) {
if (this.optionSelected !== this.menu.optionSelected) {
this.optionSelected = this.menu.optionSelected;
Expand Down Expand Up @@ -376,6 +373,9 @@ export class AuroCombobox extends LitElement {
composed: true,
}));
}

// dropdown bib should hide when making a selection
this.hideBib();
});

this.menu.addEventListener('auroMenu-customEventFired', () => {
Expand Down

0 comments on commit 0556a81

Please sign in to comment.