diff --git a/src/js/utils/DOM.js b/src/js/utils/DOM.js
index <HASH>..<HASH> 100644
--- a/src/js/utils/DOM.js
+++ b/src/js/utils/DOM.js
@@ -32,7 +32,11 @@ export function findScrollParents (element, horizontal) {
     }
     parent = parent.parentNode;
   }
-  result.push(document);
+  // last scrollable element will be the document 
+  // if nothing else is scrollable in the page
+  if (result.length === 0) {
+    result.push(document);
+  }
   return result;
 }
Fixed infinite scroll issue with the multiple scroll parents