From 3ab138c3af3c6055c38cc42fdea0e95a5dab35d2 Mon Sep 17 00:00:00 2001 From: = Date: Mon, 5 May 2025 15:46:20 +0200 Subject: [PATCH] fix: only updateIndex if there's no index yet --- src/dropdown/list/dropdown-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dropdown/list/dropdown-list.component.ts b/src/dropdown/list/dropdown-list.component.ts index 6461e70282..ea312a688e 100644 --- a/src/dropdown/list/dropdown-list.component.ts +++ b/src/dropdown/list/dropdown-list.component.ts @@ -508,7 +508,7 @@ export class DropdownList implements AbstractDropdownView, AfterViewInit, OnDest const selected = this.getSelected(); if (selected.length) { this.index = this.displayItems.indexOf(selected[0]); - } else if (this.hasNextElement()) { + } else if (this.index < 0 && this.hasNextElement()) { this.getNextElement(); } }