From 04ab81aa766c88dcafb43a7970f0d036ee1d92dd Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 23 Jan 2015 18:44:23 -0800 Subject: [PATCH] Use "webkit-overflow-scrolling" on main page scroll view Summary: This seems to improve behavior on iOS, good call. Test Plan: Hard to be totally sure since my local install isn't set up with a real phone, but behavior seems better on iOS simulator. Reviewers: chad Reviewed By: chad Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D11481 --- resources/celerity/map.php | 6 +++--- webroot/rsrc/css/application/base/standard-page-view.css | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/celerity/map.php b/resources/celerity/map.php index afc1d83b3b..ded01d65bf 100644 --- a/resources/celerity/map.php +++ b/resources/celerity/map.php @@ -7,7 +7,7 @@ */ return array( 'names' => array( - 'core.pkg.css' => '7a40db47', + 'core.pkg.css' => 'a3a18a4d', 'core.pkg.js' => '2d9bfc06', 'darkconsole.pkg.js' => '8ab24e01', 'differential.pkg.css' => '8af45893', @@ -39,7 +39,7 @@ return array( 'rsrc/css/application/base/main-menu-view.css' => '3cf893a9', 'rsrc/css/application/base/notification-menu.css' => '6aa0a74b', 'rsrc/css/application/base/phabricator-application-launch-view.css' => '5d71008f', - 'rsrc/css/application/base/standard-page-view.css' => '53882a33', + 'rsrc/css/application/base/standard-page-view.css' => '6dafdb3b', 'rsrc/css/application/chatlog/chatlog.css' => '852140ff', 'rsrc/css/application/config/config-options.css' => '7fedf08b', 'rsrc/css/application/config/config-template.css' => '25d446d6', @@ -738,7 +738,7 @@ return array( 'phabricator-side-menu-view-css' => '7e8c6341', 'phabricator-slowvote-css' => '266df6a1', 'phabricator-source-code-view-css' => '7d346aa4', - 'phabricator-standard-page-view' => '53882a33', + 'phabricator-standard-page-view' => '6dafdb3b', 'phabricator-textareautils' => '5c93c52c', 'phabricator-title' => '5c1c758c', 'phabricator-tooltip' => '1d298e3a', diff --git a/webroot/rsrc/css/application/base/standard-page-view.css b/webroot/rsrc/css/application/base/standard-page-view.css index 0b7274bf8f..ac7b125697 100644 --- a/webroot/rsrc/css/application/base/standard-page-view.css +++ b/webroot/rsrc/css/application/base/standard-page-view.css @@ -130,6 +130,8 @@ a.handle-disabled { position: relative; height: 100%; overflow-y: scroll; + + -webkit-overflow-scrolling: touch; } .jx-scrollbar-frame {