From 89c0bb4d58bc00da210b351282b131bdbb256b59 Mon Sep 17 00:00:00 2001 From: Jonathan Meyer <26874831+atmgrifter00@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:45:46 -0500 Subject: [PATCH] Add comment. --- packages/nimble-components/src/select/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nimble-components/src/select/index.ts b/packages/nimble-components/src/select/index.ts index 294115e0f0..2c09e8f02d 100644 --- a/packages/nimble-components/src/select/index.ts +++ b/packages/nimble-components/src/select/index.ts @@ -591,6 +591,7 @@ export class Select super.keydownHandler(e); } + // update currentActiveIndex again as dependent state may have changed currentActiveIndex = this.openActiveIndex ?? this.selectedIndex; break; }