diff --git a/packages/main/src/MultiComboBox.ts b/packages/main/src/MultiComboBox.ts index 87b7f0b74a22..c3aab574d6e9 100644 --- a/packages/main/src/MultiComboBox.ts +++ b/packages/main/src/MultiComboBox.ts @@ -662,6 +662,12 @@ class MultiComboBox extends UI5Element { } } + _onPopoverFocusOut() { + if (!isPhone()) { + this._tokenizer.expanded = this.open; + } + } + _tokenizerFocusOut(e: FocusEvent) { this._tokenizerFocused = false; @@ -1444,7 +1450,7 @@ class MultiComboBox extends UI5Element { } this._toggle(); - + this._tokenizer.expanded = this.focused; this._iconPressed = false; this._preventTokenizerToggle = false; this.filterSelected = false; diff --git a/packages/main/src/MultiComboBoxPopover.hbs b/packages/main/src/MultiComboBoxPopover.hbs index ef7b01a77779..0ecf7775175a 100644 --- a/packages/main/src/MultiComboBoxPopover.hbs +++ b/packages/main/src/MultiComboBoxPopover.hbs @@ -9,6 +9,7 @@ @ui5-after-close={{_afterClosePicker}} @ui5-before-open={{_beforeOpen}} @ui5-after-open={{_afterOpenPicker}} + @focusout={{_onPopoverFocusOut}} > {{#if _isPhone}}