Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
atmgrifter00 committed May 7, 2024
1 parent af4af19 commit a9d50b3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/nimble-components/src/select/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,11 @@ export class Select
super.clickHandler(e);

this.open = this.collapsible && !this.open;
if (!this.open && this.selectedIndex !== currentIndex && optionClicked) {
if (
!this.open
&& this.selectedIndex !== currentIndex
&& optionClicked
) {
this.updateValue(true);
}
}
Expand Down

0 comments on commit a9d50b3

Please sign in to comment.