我正在开发一个网络应用程序,它-webkit-overflow-scrolling:touch在几个地方使用,以提供溢出的divs惯性滚动.
自从更新到IOS8后,-webkit-overflow-scrolling: touch停止了你能够滚动的任何东西,到目前为止我能够解决这个问题的唯一方法是删除-webkit-overflow-scrolling: touch标准的粘性滚动.请帮忙!
以下是适用于iOS5,6和7的标准类之一的示例:
.dashboardScroll {
height: 100%;
overflow-x: hidden;
overflow-y: scroll;
-webkit-overflow-scrolling: touch; /*MAKES OVERFLOWN OBJECTS HAVE INERTIA SCROLLING*/
-webkit-transform: translateZ(0px); /*HELPS THE ABOVE WORK IN IOS5*/
}
Run Code Online (Sandbox Code Playgroud) 自从我的iPhone 5s更新到iOS 9 beta试用版后,我发现状态栏样式元标记和我的独立Web应用程序上的启动图像已停止工作.它在iOS8中运行得非常好,所以我有点困惑.我希望这只是一个将在最终版本中修复的错误,但我会看到是否有人对可能导致此问题的任何人有任何其他建议.
人们有什么想法?
<head>
<meta charset="utf-8">
<!-- Viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<!-- Status bar styles -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Telephone format detection -->
<meta name="format-detection" content="telephone=no">
<!-- Title -->
<meta name="apple-mobile-web-app-title" content="My App">Stat
<title>My App</title>
<!-- Path to Library CSS-->
<link rel="stylesheet" href="../resources/font-awesome-4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../resources/bootstrap-3.3.5-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../resources/jasny-bootstrap/css/jasny-bootstrap.min.css">
<!-- Path to your custom app styles-->
<link rel="stylesheet" href="../css/app.css">
<!-- Favicons -->
<link rel="icon" type="image/png" …Run Code Online (Sandbox Code Playgroud)