Skip to content

Commit

Permalink
Removed !!
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-sakharov committed Dec 19, 2017
1 parent 9e003b7 commit b09afb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ class Select extends React.Component {

this.setState({
isFocused: true,
isOpen: toOpen,
isOpen: !!toOpen,
});

this._openAfterFocus = false;
Expand Down Expand Up @@ -835,7 +835,7 @@ class Select extends React.Component {

renderInput (valueArray, focusedOptionIndex) {
const className = classNames('Select-input', this.props.inputProps.className);
const isOpen = !!this.state.isOpen;
const isOpen = this.state.isOpen;

const ariaOwns = classNames({
[this._instancePrefix + '-list']: isOpen,
Expand Down Expand Up @@ -896,7 +896,7 @@ class Select extends React.Component {
onBlur={this.handleInputBlur}
onFocus={this.handleInputFocus}
ref={ref => this.input = ref}
aria-disabled={'' + !!this.props.disabled}
aria-disabled={'' + this.props.disabled}
style={{ border: 0, width: 1, display:'inline-block' }}/>
);
}
Expand Down

0 comments on commit b09afb9

Please sign in to comment.