Skip to content

Commit

Permalink
fix(ui5-select): popover scrolls to typed item (#9053)
Browse files Browse the repository at this point in the history
Problem: When we type an item which is outside of the scroll viewport, the item is selected but the popover is not scrolled to it.

Solution: We make sure to scroll to the typed item.

Fixes: #8987
  • Loading branch information
plamenivanov91 committed May 23, 2024
1 parent 041f573 commit 70bbd7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/main/src/Select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ class Select extends UI5Element implements IFormInputElement {

if (currentIndex !== this._selectedIndex) {
this.itemSelectionAnnounce();
this._scrollSelectedItem();
}
}
}
Expand Down

0 comments on commit 70bbd7f

Please sign in to comment.