I am writing a web app in HTML and JavaScript for use on an iPhone. What I would like to achieve is preventing the app from elastic scrolling (scrolling past the pages extents a
Based on answer by @umidbek this is how it worked for me
document.getElementById('content-sections'). addEventListener('touchmove', function (event) { event.preventDefault(); return false; });