Roo/Element.js
authoredward <edward@roojs.com>
Tue, 9 Jan 2018 05:55:33 +0000 (13:55 +0800)
committeredward <edward@roojs.com>
Tue, 9 Jan 2018 05:55:33 +0000 (13:55 +0800)
Roo/Element.js

index 732fe93..b6be62e 100644 (file)
@@ -193,7 +193,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";