Skip to content

Commit b4f8e8d

Browse files
committed
build
1 parent b9cbc08 commit b4f8e8d

7 files changed

Lines changed: 6 additions & 5 deletions

File tree

lib/actuators/ReactiveList.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,8 @@ var ReactiveList = function (_Component) {
541541
if (node === window) {
542542
node = node.document.body;
543543
}
544-
if (_this8.state.requestOnScroll && node.scrollTop + node.clientHeight >= node.scrollHeight && _this8.state.resultStats.total > _this8.state.currentData.length && !_this8.state.queryStart) {
544+
// use window.pageYOffset if the node is window due to an issue with window.document.body.scrollTop
545+
if (_this8.state.requestOnScroll && (node === window.document.body ? window.pageYOffset : node.scrollTop) + node.clientHeight >= node.scrollHeight && _this8.state.resultStats.total > _this8.state.currentData.length && !_this8.state.queryStart) {
545546
_this8.nextPage();
546547
}
547548
});

lib/sensors/DataController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ DataController.propTypes = {
177177
onQueryChange: PropTypes.func,
178178
beforeValueChange: PropTypes.func,
179179
style: PropTypes.object,
180-
defaultSelected: PropTypes.any,
180+
defaultSelected: PropTypes.string,
181181
URLParams: PropTypes.bool,
182182
showFilter: PropTypes.bool,
183183
filterLabel: PropTypes.string,

playground/iframe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<body>
1818
<div id="root"></div>
1919
<div id="error-display"></div>
20-
<script src="static/preview.ff6bd753606ae239bf08.bundle.js"></script>
20+
<script src="static/preview.6e1020e43ad3a46b8730.bundle.js"></script>
2121
</body>
2222
</html>
2323

playground/static/preview.ff6bd753606ae239bf08.bundle.js renamed to playground/static/preview.6e1020e43ad3a46b8730.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

umd/reactivebase.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

umd/reactivebase.js.br

-167 Bytes
Binary file not shown.

umd/reactivebase.js.gzip

17 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)