Не работает скроллинг в приложении PhoneGap под Android. Гуглил,
window.addEventListener("touchstart", function(e) { e.preventDefault();}, false);window.addEventListener("touchmove", function(e) { e.preventDefault();}, false);
не помогает. Шо делатб?
<!DOCTYPE html>
<html ng-app="growSpotDB">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>GrowSpot Database</title>
<!-- scripts -->
<script>
window.addEventListener("touchstart", function(e) { e.preventDefault();}, false);window.addEventListener("touchmove", function(e) { e.preventDefault();}, false);
</script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.3/angular.min.js"></script>
<script src="src/js/jquery-3.2.1.min.js"></script>
<script src="src/js/material.min.js"></script>
<script src="src/js/main.js"></script>
<script type="text/javascript" src="cordova.js"></script>
<!-- styles -->
<link rel="stylesheet" href="src/css/jquery.mobile-1.4.5.min.css">
<link rel="stylesheet" href="src/css/material.min.css">
<link rel="stylesheet" href="src/css/material-yellow.min.css">
<link rel="stylesheet" href="src/css/material-icons.css">
<link rel="stylesheet" href="src/css/style.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
</head>