react-crud-mobile 1.0.657 → 1.0.659

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -676,7 +676,8 @@ function useIsVisible(ref, scope) {
676
676
  setIsVisible = _useState[1];
677
677
  React.useEffect(function () {
678
678
  var checkVisibility = function checkVisibility() {
679
- if (!ref.current || isVisible) return;
679
+ var _scope$original;
680
+ if (!ref.current || isVisible || !((_scope$original = scope.original) != null && _scope$original.useIsInView)) return;
680
681
  if (reactNative.Platform.OS === 'web') {
681
682
  var rect = ref.current.getBoundingClientRect == null ? void 0 : ref.current.getBoundingClientRect();
682
683
  if (rect && typeof window !== 'undefined') {
@@ -735,7 +736,7 @@ function UIListRow(props) {
735
736
  });
736
737
  };
737
738
  var Child = function Child() {
738
- if (!isVisible && !row.visible && index > 20) {
739
+ if (!isVisible && original.useIsInView && !row.visible && index > 20) {
739
740
  return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
740
741
  }
741
742
  return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {