mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-18 19:41:06 +00:00
Fix for issue 2474 - [IPAD] change page flicking in landscape[IPAD] change page flicking in landscape
- On iOS, giving focus to the ui-page element causes flashing during page animations/transitions. This is due to the CSS outline property which is applied when the page is given focus. Turning outlines off for all pages prevents the flashing.
This commit is contained in:
parent
44f3218ab9
commit
432b876e84
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,9 @@
|
|||
.landscape,
|
||||
.landscape .ui-page { min-height: 300px; }
|
||||
|
||||
/* on ios4, setting focus on the page element causes flashing during transitions when there is an outline, so we turn off outlines */
|
||||
.ui-page { outline: none; }
|
||||
|
||||
/* native overflow scrolling */
|
||||
.ui-page.ui-mobile-touch-overflow,
|
||||
.ui-mobile-touch-overflow.ui-native-fixed .ui-content {
|
||||
|
|
|
|||
Loading…
Reference in a new issue