diff --git a/packages/nimble-components/src/select/index.ts b/packages/nimble-components/src/select/index.ts index e858a8ee4d..389e3920f2 100644 --- a/packages/nimble-components/src/select/index.ts +++ b/packages/nimble-components/src/select/index.ts @@ -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); } }