Skip to content

Commit

Permalink
Merge pull request #1854 from George-A-Payne/edge-tabindex-bugfix
Browse files Browse the repository at this point in the history
tabindex parent bug fix for edge
  • Loading branch information
JedWatson committed Sep 8, 2017
2 parents 53e68db + 2da6ff6 commit a288be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Select.js
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 a288be7

Please sign in to comment.