Cordova Fix Android < 2.3 overflow scrolling issue

If using PhoneGap, you'll find that overflow scrolling doesn't work properly on Android devices older than 2.3.
<!-- HTML -->
<div class="overthrow">My scrollable content</div>
<script type="text/javascript" src="overthrow.js"></script>
<!-- get script from -->
.overthrow-enabled .overthrow {
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
Posted by
Snippet Viewed 6525 times.

Share your Cordova code snippets:

  • Get some recognition & a link back to your site.
  • Create your own code library.
  • Help your fellow developers, as they have helped you.


Submit | Browse

Most Recent cordova snippets

Most Viewed