Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Panel: adjusted fix for #5831. Less 3D-ing is always better.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Apr 4, 2013
1 parent 0a8d34d commit a6ff7de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions css/structure/jquery.mobile.panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@
transition: transform 350ms ease;
}

/* hardware acceleration for smoother transitions */
/* hardware acceleration for smoother transitions on WebKit browsers */
.ui-panel-animate.ui-panel:not(.ui-panel-display-reveal),
.ui-panel-animate.ui-panel:not(.ui-panel-display-reveal) > div,
.ui-panel-animate.ui-panel-closed.ui-panel-display-reveal > div,
.ui-panel-animate.ui-panel-content-wrap,
.ui-panel-animate.ui-panel-content-wrap > .ui-header,
.ui-panel-animate.ui-panel-content-wrap > .ui-content,
.ui-panel-animate.ui-panel-content-wrap > .ui-footer,
.ui-panel-animate.ui-panel-content-wrap:not(.ui-panel-content-wrap-closed) > .ui-header,
.ui-panel-animate.ui-panel-content-wrap:not(.ui-panel-content-wrap-closed) > .ui-content,
.ui-panel-animate.ui-panel-content-wrap:not(.ui-panel-content-wrap-closed) > .ui-footer,
.ui-panel-animate.ui-panel-content-fixed-toolbar {
-webkit-backface-visibility: hidden;
-webkit-transform: translate3d(0,0,0);
Expand Down

2 comments on commit a6ff7de

@jaspermdegroot
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that if we would use .ui-panel-animate.ui-panel-content-wrap-open you will still see a blink on iOS so :not(.ui-panel-content-wrap-closed) is used on purpose here.

@jaspermdegroot
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those 3 lines have been removed (6b939a4) because it caused a regression. See #5861.

Please sign in to comment.