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

index d729596..82b8da3 100644 (file)
@@ -193,7 +193,7 @@ if(opt.anim.isAnimated()){
             var overflowRegex = /(auto|scroll)/;
             
             if(this.getStyle('position') === 'fixed'){
-                return Roo.isIOS ? Roo.get(document.body) : Roo.get(document.documentElement);
+                return Roo.isAndroid ? Roo.get(document.documentElement) : Roo.get(document.body);
             }
             
             var excludeStaticParent = this.getStyle('position') === "absolute";