From fbbcf9e16ed2978547f1460c66f533157714371d Mon Sep 17 00:00:00 2001 From: "David L. Carrithers" Date: Mon, 18 Jun 2012 21:11:37 -0400 Subject: [PATCH] Issue #4559: Fixing the blink forward/back effect that sometimes happens before and after transitions. This fix will only work in browsers that support animation-fill-mode --- css/structure/jquery.mobile.transition.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/css/structure/jquery.mobile.transition.css b/css/structure/jquery.mobile.transition.css index e08075b30b4..c64fb08b145 100644 --- a/css/structure/jquery.mobile.transition.css +++ b/css/structure/jquery.mobile.transition.css @@ -10,15 +10,18 @@ } .in { + -webkit-animation-fill-mode: both; -webkit-animation-timing-function: ease-out; -webkit-animation-duration: 350ms; + -moz-animation-fill-mode: both; -moz-animation-timing-function: ease-out; -moz-animation-duration: 350ms; } - .out { + -webkit-animation-fill-mode: both; -webkit-animation-timing-function: ease-in; -webkit-animation-duration: 225ms; + -moz-animation-fill-mode: both; -moz-animation-timing-function: ease-in; -moz-animation-duration: 225ms; }