roojs-core.js
[roojs1] / roojs-core-debug.js
index f874049..87fab9f 100644 (file)
@@ -7171,7 +7171,7 @@ if(opt.anim.isAnimated()){
             var overflowRegex = /(auto|scroll)/;
             
             if(this.getStyle('position') === 'fixed'){
-                return Roo.get(document.body);
+                return Roo.isIOS ? Roo.get(document.body) : Roo.get(document.documentElement);
             }
             
             var excludeStaticParent = this.getStyle('position') === "absolute";
@@ -7190,7 +7190,7 @@ if(opt.anim.isAnimated()){
                 }
             }
             
-            return Roo.get(document.body);
+            return Roo.isIOS ? Roo.get(document.body) : Roo.get(document.documentElement);
         },
 
         /**