<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - timothypwalter</title>
<link>http://snipplr.com/users/timothypwalter/tags/iPad</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 00:33:19 GMT</pubDate>
<item>
<title>(JavaScript) Preventing elastic scrolling on iDevice</title>
<link>http://snipplr.com/view/63008/preventing-elastic-scrolling-on-idevice/</link>
<description><![CDATA[ <p>If you a flick a web app past the bottom or top of the page, the page itself gets elastically tugged away from the URL bar or the button bar (or the bottom/top of the screen if it's in full-screen mode).

This behavior is another giveaway that your app isn't native, and it's rarely the behavior you want in a native app.

To stop this behavior, capture touchmove events on the document in JavaScript and cancel them. You can do this by adding a handler to the body tag, and invoking the preventDefault method on the event object:</p> ]]></description>
<pubDate>Thu, 02 Feb 2012 22:52:08 GMT</pubDate>
<guid>http://snipplr.com/view/63008/preventing-elastic-scrolling-on-idevice/</guid>
</item>
</channel>
</rss>