Permalink
Browse files

Panel: Unset transform translate3d for FF where possible. Fixes #5753.

We don't need translate3d(0,0,0) for hardware acceleration in case of FF and it causes problems with selects due to a FF bug.
  • Loading branch information...
1 parent cd920a7 commit 88d59805b0643767c96b1d8533f2f59a15eff245 @jaspermdegroot jaspermdegroot committed Mar 27, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 css/structure/jquery.mobile.panel.css
View
4 css/structure/jquery.mobile.panel.css
@@ -96,7 +96,7 @@
.ui-panel-animate.ui-panel-position-left.ui-panel-open.ui-panel-display-overlay,
.ui-panel-animate.ui-panel-position-left.ui-panel-open.ui-panel-display-push {
-webkit-transform: translate3d(0,0,0);
- -moz-transform: translate3d(0,0,0);
+ -moz-transform: none;
transform: translate3d(0,0,0);
}
/* panel right */
@@ -120,7 +120,7 @@
.ui-panel-animate.ui-panel-position-right.ui-panel-open.ui-panel-display-overlay,
.ui-panel-animate.ui-panel-position-right.ui-panel-open.ui-panel-display-push {
-webkit-transform: translate3d(0,0,0);
- -moz-transform: translate3d(0,0,0);
+ -moz-transform: none;
transform: translate3d(0,0,0);
}

0 comments on commit 88d5980

Please sign in to comment.