Skip to content

Commit

Permalink
Merge pull request #356 from appfolio/removeSelectXTabbing
Browse files Browse the repository at this point in the history
mj - add tabindex to select close link so we dont tab to it
  • Loading branch information
aaronpanch authored Jan 11, 2018
2 parents 69e53ac + 1a6112b commit 427d088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class Select extends React.Component {
return (
<SelectElement
arrowRenderer={({ isOpen }) => <Icon name={`caret-${isOpen ? 'up' : 'down'}`} />}
clearRenderer={() => <Close style={{ fontSize: '1rem' }} />}
clearRenderer={() => <Close tabIndex={-1} style={{ fontSize: '1rem' }} />}
optionComponent={Option}
inputProps={{ ...props.inputProps, name: props.name || '' }}
onChange={this.onChange}
Expand Down

0 comments on commit 427d088

Please sign in to comment.