修复苹果手机IOS下不能左右滚动问题,另外需按如下步骤操作手机:设置 -> Safari浏览器 -> 高级 -> Experimental
Features -> 关闭 Async Frame Scrolling 选项。
This commit is contained in:
@@ -2610,7 +2610,13 @@ $.fn.layout = function (opts) {
|
|||||||
}
|
}
|
||||||
// ensure no vertical scrollbar on pane - will mess up measurements
|
// ensure no vertical scrollbar on pane - will mess up measurements
|
||||||
if ($P.css("overflowX").match(/(scroll|auto)/)) {
|
if ($P.css("overflowX").match(/(scroll|auto)/)) {
|
||||||
$P.css("overflow", "hidden");
|
// $P.css("overflow", "hidden");
|
||||||
|
// 优化IOS下iframe不支持滚动的问题 ThinkGem
|
||||||
|
if (navigator.userAgent.match(/iPad|iPhone/i) && $P.find('iframe').length > 0) {
|
||||||
|
$P.addClass('iframe-ios');
|
||||||
|
}else{
|
||||||
|
$P.css("overflow", "hidden");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
state[pane].content = {}; // init content state
|
state[pane].content = {}; // init content state
|
||||||
if (resize !== false) sizeContent(pane);
|
if (resize !== false) sizeContent(pane);
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ var bodyClass = 'fixed noscroll2 sidebar-mini ' + sidebarCollapse;
|
|||||||
<link rel="stylesheet" href="${ctxStatic}/jquery-toastr/2.0/toastr.min.css?${_version}">
|
<link rel="stylesheet" href="${ctxStatic}/jquery-toastr/2.0/toastr.min.css?${_version}">
|
||||||
<link rel="stylesheet" href="${ctxStatic}/adminlte/css/skins/${skinName}.css?${_version}">
|
<link rel="stylesheet" href="${ctxStatic}/adminlte/css/skins/${skinName}.css?${_version}">
|
||||||
<link rel="stylesheet" href="${ctxStatic}/modules/sys/sysIndex.css?${_version}">
|
<link rel="stylesheet" href="${ctxStatic}/modules/sys/sysIndex.css?${_version}">
|
||||||
<header class="main-header">
|
<header class="main-header">
|
||||||
<% include('sysIndex/topMenu.html'){} %>
|
<% include('sysIndex/topMenu.html'){} %>
|
||||||
</header>
|
</header>
|
||||||
<aside class="main-sidebar">
|
<aside class="main-sidebar">
|
||||||
|
|||||||
Reference in New Issue
Block a user