Skip to content

Commit

Permalink
fix(dropdown-select): disable keyboard navigation when disabled (#2271)
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-ico authored Feb 15, 2024
1 parent ae5812a commit cc1bf66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ export class DropdownSelect {
id={this.comboboxId}
part="combobox"
role="combobox"
tabindex="0"
tabindex={this.disabled ? '-1' : '0'}
onBlur={this.handleBlur}
onFocus={this.handleFocus}
onClick={this.handleClick}
Expand Down

0 comments on commit cc1bf66

Please sign in to comment.