Skip to content

Commit

Permalink
tabindex parent bug fix for edge
Browse files Browse the repository at this point in the history
  • Loading branch information
George-A-Payne committed Jul 28, 2017
1 parent 6c0ee59 commit 2da6ff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ class Select extends React.Component {

return (
<div ref={ref => this.menuContainer = ref} className="Select-menu-outer" style={this.props.menuContainerStyle}>
<div ref={ref => this.menu = ref} role="listbox" className="Select-menu" id={this._instancePrefix + '-list'}
<div ref={ref => this.menu = ref} role="listbox" tabIndex={-1} className="Select-menu" id={this._instancePrefix + '-list'}
style={this.props.menuStyle}
onScroll={this.handleMenuScroll}
onMouseDown={this.handleMouseDownOnMenu}>
Expand Down

0 comments on commit 2da6ff6

Please sign in to comment.