]> source.dussan.org Git - gwtquery.git/commitdiff
Dont force position in animations when it is fixed. Fixes issue 160
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Mon, 17 Dec 2012 12:01:45 +0000 (13:01 +0100)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Mon, 17 Dec 2012 12:01:45 +0000 (13:01 +0100)
gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java

index 80b73d2a94f8bc9437a4e86a91d1bd4c22f21dd1..92386f5e766618bd1429c76c06945eea79ae904b 100755 (executable)
@@ -255,7 +255,7 @@ public class PropertiesAnimation extends GQAnimation {
     if (resize) {
       g.css("overflow", "hidden");
     }
-    if (move && !g.css("position", true).matches("absolute|relative")) {
+    if (move && !g.css("position", true).matches("absolute|relative|fixed")) {
       g.css("position", "relative");
     }
     super.onStart();