From 7bf83ab98b88373c03daf40925054d41445dfc02 Mon Sep 17 00:00:00 2001 From: Nia Peeva Date: Mon, 18 Jan 2021 16:35:35 +0200 Subject: [PATCH] fix(ui5-multi-combobox): The initial focus is set on the ui5-dialog --- packages/main/src/MultiComboBox.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/main/src/MultiComboBox.js b/packages/main/src/MultiComboBox.js index d15598f94cea..787d70524e01 100644 --- a/packages/main/src/MultiComboBox.js +++ b/packages/main/src/MultiComboBox.js @@ -692,6 +692,11 @@ class MultiComboBox extends UI5Element { const filteredItems = this._filterItems(this.value); this._filteredItems = filteredItems; + + if (isPhone() && this.allItemsPopover && this.allItemsPopover.opened) { + // Set initial focus to the dialog + this.allItemsPopover.focus(); + } } async onAfterRendering() {