Ich möchte den iOS Overscroll in einer Webapp deaktivieren, aber trotzdem den Body scrollen lassen.Deaktiviere iOS Overscroll, erlaube aber Body Scrolling
$(document).on('touchmove', function(e) {
e.preventDefault();
});
deaktiviert Scrollen insgesamt (wie man erwarten würde).
Gibt es eine Möglichkeit zu tun, was ich tun möchte?
Es ist eine Antwort auf eine ähnliche Frage, obwohl es dieses Problem auch bedeckt, http://stackoverflow.com/questions/2890361/disable-scrolling-in-an-iphone- Web-Anwendung/26853900? Stw = 2 # 26853900. – Gajus
Ich habe dieses Skript gefunden, das dieses Problem behebt! :) https://github.com/lazd/iNoBounce –