Skip to content

Commit

Permalink
Fixed prop reference and built
Browse files Browse the repository at this point in the history
  • Loading branch information
f0urfingeredfish committed Dec 15, 2016
1 parent 8e7ba5d commit cbbd8f1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dist/react-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ var Select = _react2['default'].createClass({
var options = this._visibleOptions = this.filterOptions(this.props.multi ? this.getValueArray(this.props.value) : null);
var isOpen = this.state.isOpen;
if (this.props.multi && !options.length && valueArray.length && !this.state.inputValue) isOpen = false;
isOpen = isAlwaysOpen ? true : isOpen;
isOpen = this.props.isAlwaysOpen ? true : isOpen;
var focusedOptionIndex = this.getFocusableOptionIndex(valueArray[0]);

var focusedOption = null;
Expand Down
2 changes: 1 addition & 1 deletion dist/react-select.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/dist/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -2049,7 +2049,7 @@ var Select = _react2['default'].createClass({
var options = this._visibleOptions = this.filterOptions(this.props.multi ? this.getValueArray(this.props.value) : null);
var isOpen = this.state.isOpen;
if (this.props.multi && !options.length && valueArray.length && !this.state.inputValue) isOpen = false;
isOpen = isAlwaysOpen ? true : isOpen;
isOpen = this.props.isAlwaysOpen ? true : isOpen;
var focusedOptionIndex = this.getFocusableOptionIndex(valueArray[0]);

var focusedOption = null;
Expand Down
2 changes: 1 addition & 1 deletion examples/dist/standalone.js
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ var Select = _react2['default'].createClass({
var options = this._visibleOptions = this.filterOptions(this.props.multi ? this.getValueArray(this.props.value) : null);
var isOpen = this.state.isOpen;
if (this.props.multi && !options.length && valueArray.length && !this.state.inputValue) isOpen = false;
isOpen = isAlwaysOpen ? true : isOpen;
isOpen = this.props.isAlwaysOpen ? true : isOpen;
var focusedOptionIndex = this.getFocusableOptionIndex(valueArray[0]);

var focusedOption = null;
Expand Down
2 changes: 1 addition & 1 deletion lib/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ var Select = _react2['default'].createClass({
var options = this._visibleOptions = this.filterOptions(this.props.multi ? this.getValueArray(this.props.value) : null);
var isOpen = this.state.isOpen;
if (this.props.multi && !options.length && valueArray.length && !this.state.inputValue) isOpen = false;
isOpen = isAlwaysOpen ? true : isOpen;
isOpen = this.props.isAlwaysOpen ? true : isOpen;
var focusedOptionIndex = this.getFocusableOptionIndex(valueArray[0]);

var focusedOption = null;
Expand Down
2 changes: 1 addition & 1 deletion src/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ const Select = React.createClass({
let options = this._visibleOptions = this.filterOptions(this.props.multi ? this.getValueArray(this.props.value) : null);
let isOpen = this.state.isOpen;
if (this.props.multi && !options.length && valueArray.length && !this.state.inputValue) isOpen = false;
isOpen = isAlwaysOpen ? true : isOpen;
isOpen = this.props.isAlwaysOpen ? true : isOpen;
const focusedOptionIndex = this.getFocusableOptionIndex(valueArray[0]);

let focusedOption = null;
Expand Down

0 comments on commit cbbd8f1

Please sign in to comment.