Skip to content

Commit f75f623

Browse files
authored
Merge branch 'master' into modal-label
2 parents dd39068 + b3b4529 commit f75f623

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dropdown/list/dropdown-list.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ export class DropdownList implements AbstractDropdownView, AfterViewInit, OnDest
508508
const selected = this.getSelected();
509509
if (selected.length) {
510510
this.index = this.displayItems.indexOf(selected[0]);
511-
} else if (this.hasNextElement()) {
511+
} else if (this.index < 0 && this.hasNextElement()) {
512512
this.getNextElement();
513513
}
514514
}

0 commit comments

Comments
 (0)