Stop scrolling over edge of screen on iOS web apps?

Working on an iOS web app. The user can scroll the content of the page up and down. However, is there a way to stop the screen from being dragged so far that the grey background becomes visible? This is replicable by opening any webpage in mobile safari and pulling the page down.


You can use a javascript library like pastrykit, or iScroll, to handle the scrolling instead of the default, similarly to how the mobile gmail webpage works, or the iPhone User Guide.


  • UIVisualEffectView creates a grey box instead of blurring
  • css background transition in opera goes through black
  • WPF: CanExecute is Always Disabled
  • Opening links in a new tab and only the new tab
  • Shadows for Instantiated Game Object bug?
  • How to control Trigger state (Pause, Play) using code (not just buttons)
  • XBee Linux Serial Port on Rasberry Pi
  • Jquery UI Sortable, move item automatically
  • Opening two instances of InAppBrowser (_system and _blank) prevents events from triggering
  • Unable to play media with vlc ocx
  • Why can't UI components be accessed from a backgroundworker?
  • How to split circle in to the sectors in google maps?
  • How can I tell a form not to dispose a particular control when it closes?
  • Application level floating views with navigation in Android
  • Is there a way to save the selected text and highlight it again once the page is refreshed?
  • How to getText() from the input field of an angularjs Application
  • SonarQube: Cannot deactivate rule with missing quality profile
  • Debugging VB6 Code From Visual Studio 2010
  • Build Successful but not running on simulator
  • AndEngine Applying Transparancy to AndEngine View
  • Button text different than value submitted in query string
  • Using a canvas object in a thread to do simple animations - Java
  • Get history of file changes from TFS to implement custom “blame”-behaviour of exceptions
  • CakePHP 2.0.4 - findBy magic methods with conditions
  • iOS: Detect app start via notification press
  • Meteor helpers not available in Angular template
  • Android fill_parent issue
  • Exception “firebase.functions() takes … no argument …” when specifying a region for a Cloud Function
  • Avoid links criss cross / overlap in d3.js using force layout
  • Repeat a vertical line on every page in Report Builder / SSRS
  • FB SDK and cURL: Unknown SSL protocol error in connection to graph.facebook.com:443
  • Is calc() supported in html email?
  • req.body is undefined - nodejs
  • How to apply VCL Styles to DLL-based forms in Inno Setup?
  • Trying to switch camera back to front but getting exception
  • Symfony2: How to get request parameter
  • Akka Routing: Reply's send to router ends up as dead letters
  • Is there a mandatory requirement to switch app.yaml?
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • UserPrincipal.Current returns apppool on IIS