We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d430632 commit a98c6bdCopy full SHA for a98c6bd
packages/main/src/Input.js
@@ -605,6 +605,10 @@ class Input extends UI5Element {
605
return this._handleEscape(event);
606
}
607
608
+ if (this.showSuggestions) {
609
+ this.Suggestions._deselectItems();
610
+ }
611
+
612
this._keyDown = true;
613
614
packages/main/src/features/InputSuggestions.js
@@ -301,6 +301,13 @@ class Suggestions {
301
302
303
304
+ _deselectItems() {
305
+ const items = this._getItems();
306
+ items.forEach(item => {
307
+ item.selected = false;
308
+ });
309
310
311
_isItemIntoView(item) {
312
const rectItem = item.getDomRef().getBoundingClientRect();
313
const rectInput = this._getComponent().getDomRef().getBoundingClientRect();
0 commit comments