Skip to content

Commit

Permalink
Updating build
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Sep 12, 2017
1 parent ad1e775 commit 4344657
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/react-select.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ var Select$1 = function (_React$Component) {
if (!this.props.onMenuScrollToBottom) return;
var target = event.target;

if (target.scrollHeight > target.offsetHeight && !(target.scrollHeight - target.offsetHeight - target.scrollTop)) {
if (target.scrollHeight > target.offsetHeight && target.scrollHeight - target.offsetHeight - target.scrollTop <= 0) {
this.props.onMenuScrollToBottom();
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/react-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ var Select$1 = function (_React$Component) {
if (!this.props.onMenuScrollToBottom) return;
var target = event.target;

if (target.scrollHeight > target.offsetHeight && !(target.scrollHeight - target.offsetHeight - target.scrollTop)) {
if (target.scrollHeight > target.offsetHeight && target.scrollHeight - target.offsetHeight - target.scrollTop <= 0) {
this.props.onMenuScrollToBottom();
}
}
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 lib/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ var Select = function (_React$Component) {
if (!this.props.onMenuScrollToBottom) return;
var target = event.target;

if (target.scrollHeight > target.offsetHeight && !(target.scrollHeight - target.offsetHeight - target.scrollTop)) {
if (target.scrollHeight > target.offsetHeight && target.scrollHeight - target.offsetHeight - target.scrollTop <= 0) {
this.props.onMenuScrollToBottom();
}
}
Expand Down

0 comments on commit 4344657

Please sign in to comment.