Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
atmgrifter00 committed Jul 31, 2024
1 parent 3906bbd commit 89c0bb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nimble-components/src/select/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 89c0bb4

Please sign in to comment.