Skip to content

Commit 24c07ac

Browse files
authoredMay 23, 2024
fix(ui5-select): popover scrolls to typed item (#9054)
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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎packages/main/src/Select.ts

+1
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ class Select extends UI5Element implements IFormElement {
736736

737737
if (currentIndex !== this._selectedIndex) {
738738
this.itemSelectionAnnounce();
739+
this._scrollSelectedItem();
739740
}
740741
}
741742
}

0 commit comments

Comments
 (0)
Please sign in to comment.