Permalink
Browse files

Issue #4559: Fixing the blink forward/back effect that sometimes happ…

…ens before and after transitions. This fix will only work in browsers that support animation-fill-mode
  • Loading branch information...
1 parent 2812dce commit fbbcf9e16ed2978547f1460c66f533157714371d @dcarrith dcarrith committed Jun 19, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 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;
}

1 comment on commit fbbcf9e

Contributor

toddparker commented on fbbcf9e Sep 24, 2012

Turns out this changes really slows down transitions on tablets like the Nexus 7. We're going to revert this change and look into other solutions.

Please sign in to comment.