Found a Solution to the flicker problem in page transitions!

Found a Solution to the flicker problem in page transitions!

Hi,

I'm developing a jQuery mobile (v1.2.0) web application and testing it in my android device (Samsung Galaxy S II). But there was a serious flickering problem in page transitions.

I deeply investigate the jquery-mobile.js to understand when this flickering happens. After spending many hours, I found which code part causes the problem: Enabling/Disabling zoom on just before page transition!

  1.  $.mobile.zoom = $.extend( {}, { enabled: !disabledInitially, locked: false, disable: function( lock ) { if ( !disabledInitially && !$.mobile.zoom.locked ) { meta.attr( "content", disabledZoom ); $.mobile.zoom.enabled = false; $.mobile.zoom.locked = lock || false; } }, enable: function( unlock ) { if ( !disabledInitially && ( !$.mobile.zoom.locked || unlock === true ) ) { meta.attr( "content", enabledZoom ); $.mobile.zoom.enabled = true; $.mobile.zoom.locked = false; } }, restore: function() { if ( !disabledInitially ) { meta.attr( "content", initialContent ); $.mobile.zoom.enabled = true; } } });
(line 7211 to 7234)

I deleted the lines:
meta.attr( "content", disabledZoom );
and
meta.attr( "content", enabledZoom );
(lines 7216 and 7223)

Then it worked smoothly without a problem.