cordova-browser icon indicating copy to clipboard operation
cordova-browser copied to clipboard

DisallowOverscroll for browser build

Open philippogol opened this issue 6 years ago • 1 comments

I have a problem with the ios bouncing effect when running the app on a browser.

Changing the preference "DisallowOverscroll" works perfectly on the ios and android versions, but when building a browser deploy and uploading it to a server, there is no way to add the preference on the config.xml.

Is there a way to add this useful preference for the browser versions? I also tried many solutions to avoid the bouncing, but non of them works 100% correctly.

philippogol avatar Nov 18 '18 23:11 philippogol

As your is just a web page in this case, you have to use some CSS to disable overscroll: https://stackoverflow.com/questions/12046315/prevent-overscrolling-of-web-page gives several suggestions that should work.

janpio avatar Nov 19 '18 11:11 janpio