<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Eliminating annoying flicker transitions with jQuery Mobile on Android</title>
	<atom:link href="http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html</link>
	<description>Java, XML and all that Jazz... from Canberra, Australia</description>
	<lastBuildDate>Tue, 14 May 2013 20:37:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Damilola</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-91107</link>
		<dc:creator>Damilola</dc:creator>
		<pubDate>Thu, 09 May 2013 17:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-91107</guid>
		<description><![CDATA[&lt;em&gt;Got this from a jquery ghithub website&lt;/em&gt;

Solution to flicker problem in jQuery mobile page transitions!
Milestone: 1.4.0 
 
  uGoMobi is assigned
I&#039;m developing a mobile web site using jQuery mobile framework. When I use page transitions (like slide), it causes a flicking. Especially in default browser in android phones, flicking is really bad.

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!

in jQuery mobile 1.2.0 source codes (line 7211 to 7234):

$.mobile.zoom = $.extend( {}, {
enabled: !disabledInitially,
locked: false,
disable: function( lock ) {
if ( !disabledInitially &amp;&amp; !$.mobile.zoom.locked ) {
meta.attr( &quot;content&quot;, disabledZoom );
$.mobile.zoom.enabled = false;
$.mobile.zoom.locked = lock &#124;&#124; false;
}
},
enable: function( unlock ) {
if ( !disabledInitially &amp;&amp; ( !$.mobile.zoom.locked &#124;&#124; unlock === true ) ) {
meta.attr( &quot;content&quot;, enabledZoom );
$.mobile.zoom.enabled = true;
$.mobile.zoom.locked = false;
}
},
restore: function() {
if ( !disabledInitially ) {
meta.attr( &quot;content&quot;, initialContent );
$.mobile.zoom.enabled = true;
}
}
});

I deleted the lines:

meta.attr( &quot;content&quot;, disabledZoom );

and

meta.attr( &quot;content&quot;, enabledZoom );

(lines 7216 and 7223)

Then it worked smoothly without a problem! I don&#039;t know if it causes another problem but the problem was changing max-zoom in page transition. In my tests, it worked correctly without any problem.

I wanted to inform you to consider this problem while changing zoom.]]></description>
		<content:encoded><![CDATA[<p><em>Got this from a jquery ghithub website</em></p>
<p>Solution to flicker problem in jQuery mobile page transitions!<br />
Milestone: 1.4.0 </p>
<p>  uGoMobi is assigned<br />
I&#8217;m developing a mobile web site using jQuery mobile framework. When I use page transitions (like slide), it causes a flicking. Especially in default browser in android phones, flicking is really bad.</p>
<p>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!</p>
<p>in jQuery mobile 1.2.0 source codes (line 7211 to 7234):</p>
<p>$.mobile.zoom = $.extend( {}, {<br />
enabled: !disabledInitially,<br />
locked: false,<br />
disable: function( lock ) {<br />
if ( !disabledInitially &amp;&amp; !$.mobile.zoom.locked ) {<br />
meta.attr( &#8220;content&#8221;, disabledZoom );<br />
$.mobile.zoom.enabled = false;<br />
$.mobile.zoom.locked = lock || false;<br />
}<br />
},<br />
enable: function( unlock ) {<br />
if ( !disabledInitially &amp;&amp; ( !$.mobile.zoom.locked || unlock === true ) ) {<br />
meta.attr( &#8220;content&#8221;, enabledZoom );<br />
$.mobile.zoom.enabled = true;<br />
$.mobile.zoom.locked = false;<br />
}<br />
},<br />
restore: function() {<br />
if ( !disabledInitially ) {<br />
meta.attr( &#8220;content&#8221;, initialContent );<br />
$.mobile.zoom.enabled = true;<br />
}<br />
}<br />
});</p>
<p>I deleted the lines:</p>
<p>meta.attr( &#8220;content&#8221;, disabledZoom );</p>
<p>and</p>
<p>meta.attr( &#8220;content&#8221;, enabledZoom );</p>
<p>(lines 7216 and 7223)</p>
<p>Then it worked smoothly without a problem! I don&#8217;t know if it causes another problem but the problem was changing max-zoom in page transition. In my tests, it worked correctly without any problem.</p>
<p>I wanted to inform you to consider this problem while changing zoom.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-84730</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Mon, 15 Apr 2013 18:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-84730</guid>
		<description><![CDATA[Dude yeah.  PhoneGap is doing that to me completely.]]></description>
		<content:encoded><![CDATA[<p>Dude yeah.  PhoneGap is doing that to me completely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-84729</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Mon, 15 Apr 2013 18:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-84729</guid>
		<description><![CDATA[Ya know, this did fix that flicker on Android for me, but it introduced an iOS bug that was worse.  It made my fixed jQM header and footer tabbar disappear sometimes in iOS only.  This was a most unfortunate and unhappy occurrence as I considered what to do.

What fixed THAT was to make sure that they had the correct data-position as fixed - for instance:
&lt;code&gt;&lt;/code&gt;

That worked to fix the bug that your fix solved.  Thank you!  But arrugggghh with this web-wrapped-in-js-native-mobile sandwich stuff.  The layers of fixes for simple UI things is reminding me of bad cross-browser compatibility days of long ago.

&lt;strong&gt;Thank you Glen !!&lt;/strong&gt;]]></description>
		<content:encoded><![CDATA[<p>Ya know, this did fix that flicker on Android for me, but it introduced an iOS bug that was worse.  It made my fixed jQM header and footer tabbar disappear sometimes in iOS only.  This was a most unfortunate and unhappy occurrence as I considered what to do.</p>
<p>What fixed THAT was to make sure that they had the correct data-position as fixed &#8211; for instance:<br />
<code></code></p>
<p>That worked to fix the bug that your fix solved.  Thank you!  But arrugggghh with this web-wrapped-in-js-native-mobile sandwich stuff.  The layers of fixes for simple UI things is reminding me of bad cross-browser compatibility days of long ago.</p>
<p><strong>Thank you Glen !!</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monica</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-60730</link>
		<dc:creator>monica</dc:creator>
		<pubDate>Wed, 23 Jan 2013 20:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-60730</guid>
		<description><![CDATA[Hi everyobe, Im trying to do this but it doest work...
Can someone help me???? thanks...]]></description>
		<content:encoded><![CDATA[<p>Hi everyobe, Im trying to do this but it doest work&#8230;<br />
Can someone help me???? thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-36549</link>
		<dc:creator>Johnny</dc:creator>
		<pubDate>Sat, 03 Nov 2012 23:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-36549</guid>
		<description><![CDATA[Fantastic! I&#039;ve just started working on JQuery mobile website and found your solution, thanks alot.

cheers]]></description>
		<content:encoded><![CDATA[<p>Fantastic! I&#8217;ve just started working on JQuery mobile website and found your solution, thanks alot.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel Quintal</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-30862</link>
		<dc:creator>Miguel Quintal</dc:creator>
		<pubDate>Sun, 26 Aug 2012 18:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-30862</guid>
		<description><![CDATA[Thank you. This &quot;simple&quot; problem was distroying my application and my mind.
cheers.]]></description>
		<content:encoded><![CDATA[<p>Thank you. This &#8220;simple&#8221; problem was distroying my application and my mind.<br />
cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Smitha</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-30730</link>
		<dc:creator>Smitha</dc:creator>
		<pubDate>Thu, 23 Aug 2012 21:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-30730</guid>
		<description><![CDATA[Thank you for the post.
If the solution provided doesn&#039;t work as is, try it out along with 
.x-panel {
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
}

in the css file.
The combination worked for me. I have tabs in the bottom of my page.]]></description>
		<content:encoded><![CDATA[<p>Thank you for the post.<br />
If the solution provided doesn&#8217;t work as is, try it out along with<br />
.x-panel {<br />
    -webkit-perspective: 1000;<br />
    -webkit-backface-visibility: hidden;<br />
}</p>
<p>in the css file.<br />
The combination worked for me. I have tabs in the bottom of my page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spencer</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-30324</link>
		<dc:creator>spencer</dc:creator>
		<pubDate>Fri, 17 Aug 2012 20:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-30324</guid>
		<description><![CDATA[yeah that didn&#039;t work for me on IOS, but I used as mentioned above and that did the trick! now everything works awesome and smooth!

.ui-mobile {
	background:#000
}
.ui-mobile-viewport {
	background:#000
}
.ui-page {
	background:#000
}]]></description>
		<content:encoded><![CDATA[<p>yeah that didn&#8217;t work for me on IOS, but I used as mentioned above and that did the trick! now everything works awesome and smooth!</p>
<p>.ui-mobile {<br />
	background:#000<br />
}<br />
.ui-mobile-viewport {<br />
	background:#000<br />
}<br />
.ui-page {<br />
	background:#000<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vikrant</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-27273</link>
		<dc:creator>Vikrant</dc:creator>
		<pubDate>Tue, 03 Jul 2012 10:58:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-27273</guid>
		<description><![CDATA[Awesome work ! Thanks a lot. Its working in blackberry.]]></description>
		<content:encoded><![CDATA[<p>Awesome work ! Thanks a lot. Its working in blackberry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HYD</title>
		<link>http://blogs.bytecode.com.au/glen/2011/07/14/eliminating-annoying-flicker-transitions-with.html#comment-26152</link>
		<dc:creator>HYD</dc:creator>
		<pubDate>Fri, 22 Jun 2012 05:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.bytecode.com.au/glen/?p=567#comment-26152</guid>
		<description><![CDATA[There are many issues with data-position=fixed thingy.. U can look into forums on jquerymobile which discusses this issue predominantly.]]></description>
		<content:encoded><![CDATA[<p>There are many issues with data-position=fixed thingy.. U can look into forums on jquerymobile which discusses this issue predominantly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
