This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
1px jitter on the fixed footers under Android ICS + Chrome #4895
Closed
Description
Referencing #3694 - the fix applied by @Wilto for 1.1 (and now in 1.2 RC) setting .ui-footer-fixed
to bottom: 0
re-introduces the 1px gap consistently on ICS devices + Chrome with fixed footer toolbars. The stock Browser continues works correctly.
This can be reproduced viewing the docs (tested with Motorola Droid and Galaxy Nexus).
http://jquerymobile.com/demos/1.2.0-alpha.1/docs/toolbars/bars-fixed.html
This fix is undoing the other fix that caused the document height to be oversized, which resorts to an undesirable device conditional:
$(document).on('pagebeforeshow',function(e,ui){
if( navigator.userAgent.indexOf('Android 4') != -1 && navigator.userAgent.indexOf('Chrome') != -1 )
$('.ui-footer-fixed').css('bottom','-1px');
});
Not sure there is a good choice since fixing one breaks the other and vice versa, just wanted to bring attention to it.