From a3a4d5b2e555702b525570accc710c6d667b253e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Mon, 17 Dec 2012 13:01:45 +0100 Subject: [PATCH] Dont force position in animations when it is fixed. Fixes issue 160 --- .../gwt/query/client/plugins/effects/PropertiesAnimation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java index 80b73d2a..92386f5e 100755 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java @@ -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(); -- 2.39.5