diff --git a/lib/select-box.js b/lib/select-box.js index c5ba34a..63b10ba 100644 --- a/lib/select-box.js +++ b/lib/select-box.js @@ -100,7 +100,7 @@ module.exports = React.createClass({displayName: 'exports', } else { this.updatePendingValue(val, cb) || this.props.onChange(val) this.handleClose() - this.refs.button.getDOMNode().focus() + this.refs.button.focus() } }.bind(this) }, @@ -140,7 +140,7 @@ module.exports = React.createClass({displayName: 'exports', handleOpen: function (event) { interceptEvent(event) this.setState({open: true}, function () { - this.refs.menu.getDOMNode().focus() + this.refs.menu.focus() }) },