apache / cordova-browser

Apache Cordova
Apache License 2.0
170 stars 85 forks source link

DisallowOverscroll for browser build #64

Open philippogol opened 5 years ago

philippogol commented 5 years ago

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.

janpio commented 5 years ago

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.