Skip to content

Commit

Permalink
re-added tabIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielDervishi committed Jul 24, 2023
1 parent 44aaadd commit 4690030
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/DropDownMenu/MultiSelectDropDown.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export class MultiSelectDropdown extends React.Component {
className="multiselect-dropdown"
onClick={() => this.setState({expanded: !this.state.expanded})}
data-testid={this.props.title}
tabIndex={-1}
ref={this.dropdownRef}
>
<div className={"tags-box"} data-testid={"tags-box"}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class SingleSelectDropDown extends React.Component {
className="singleselect-dropdown"
onClick={() => this.setState({expanded: !this.state.expanded})}
onBlur={() => this.setState({expanded: false})}
tabIndex={-1}
data-testid={"dropdown"}
>
<a data-testid={"selection"}>{this.props.selected}</a>
Expand Down

0 comments on commit 4690030

Please sign in to comment.