Skip to content

Commit cc9ad57

Browse files
niyapNHristov-sap
authored andcommitted
fix(ui5-multi-combobox): The initial focus is set on the ui5-dialog (SAP#2702)
1 parent 25bfdc0 commit cc9ad57

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/main/src/MultiComboBox.js

+5
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,11 @@ class MultiComboBox extends UI5Element {
692692

693693
const filteredItems = this._filterItems(this.value);
694694
this._filteredItems = filteredItems;
695+
696+
if (isPhone() && this.allItemsPopover && this.allItemsPopover.opened) {
697+
// Set initial focus to the dialog
698+
this.allItemsPopover.focus();
699+
}
695700
}
696701

697702
async onAfterRendering() {

0 commit comments

Comments
 (0)