react-select-async-paginate
Advanced tools
Comparing version 0.3.13 to 0.3.14
@@ -0,1 +1,7 @@ | ||
## 0.3.14 (01 apr 2020) | ||
### Bugfix | ||
- Removed excess check of scrollability of menu for load more options [#52](https://github.com/vtaits/react-select-async-paginate/issues/52) | ||
## 0.3.13 (28 mar 2020) | ||
@@ -2,0 +8,0 @@ |
@@ -81,8 +81,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
scrollHeight = el.scrollHeight, | ||
clientHeight = el.clientHeight; // menu hasn't scroll | ||
if (scrollHeight <= clientHeight) { | ||
return true; | ||
} | ||
clientHeight = el.clientHeight; | ||
var shouldLoadMore = this.props.selectProps.shouldLoadMore; | ||
@@ -89,0 +84,0 @@ return shouldLoadMore(scrollHeight, clientHeight, scrollTop); |
@@ -101,8 +101,3 @@ "use strict"; | ||
scrollHeight = el.scrollHeight, | ||
clientHeight = el.clientHeight; // menu hasn't scroll | ||
if (scrollHeight <= clientHeight) { | ||
return true; | ||
} | ||
clientHeight = el.clientHeight; | ||
var shouldLoadMore = this.props.selectProps.shouldLoadMore; | ||
@@ -109,0 +104,0 @@ return shouldLoadMore(scrollHeight, clientHeight, scrollTop); |
{ | ||
"name": "react-select-async-paginate", | ||
"version": "0.3.13", | ||
"version": "0.3.14", | ||
"description": "Wrapper above react-select that supports pagination on menu scroll", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
63389
1321