1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-25 14:08:19 +01:00

Fix iphone scrolling behavior on homepage

Summary: I see a flash of white on my iPhone emulator and on the actual device when I scroll down. Make the texture bigger to prevent it.

Test Plan: Scrolled on emulator, no more white flash.

Reviewers: chad

Reviewed By: chad

CC: aran

Differential Revision: https://secure.phabricator.com/D5416
This commit is contained in:
epriestley 2013-03-22 12:09:10 -07:00
parent c897dc04e5
commit 022ac73d60
2 changed files with 43 additions and 40 deletions

View file

@ -2947,7 +2947,7 @@ celerity_register_resource_map(array(
), ),
'phabricator-nav-view-css' => 'phabricator-nav-view-css' =>
array( array(
'uri' => '/res/0af35d12/rsrc/css/aphront/phabricator-nav-view.css', 'uri' => '/res/fb026f2e/rsrc/css/aphront/phabricator-nav-view.css',
'type' => 'css', 'type' => 'css',
'requires' => 'requires' =>
array( array(
@ -3686,7 +3686,7 @@ celerity_register_resource_map(array(
), array( ), array(
'packages' => 'packages' =>
array( array(
'8de9d42a' => 'ebd26861' =>
array( array(
'name' => 'core.pkg.css', 'name' => 'core.pkg.css',
'symbols' => 'symbols' =>
@ -3728,7 +3728,7 @@ celerity_register_resource_map(array(
34 => 'phabricator-object-item-list-view-css', 34 => 'phabricator-object-item-list-view-css',
35 => 'global-drag-and-drop-css', 35 => 'global-drag-and-drop-css',
), ),
'uri' => '/res/pkg/8de9d42a/core.pkg.css', 'uri' => '/res/pkg/ebd26861/core.pkg.css',
'type' => 'css', 'type' => 'css',
), ),
'95ceba95' => '95ceba95' =>
@ -3919,16 +3919,16 @@ celerity_register_resource_map(array(
'reverse' => 'reverse' =>
array( array(
'aphront-attached-file-view-css' => 'c41b4907', 'aphront-attached-file-view-css' => 'c41b4907',
'aphront-dialog-view-css' => '8de9d42a', 'aphront-dialog-view-css' => 'ebd26861',
'aphront-error-view-css' => '8de9d42a', 'aphront-error-view-css' => 'ebd26861',
'aphront-form-view-css' => '8de9d42a', 'aphront-form-view-css' => 'ebd26861',
'aphront-list-filter-view-css' => '8de9d42a', 'aphront-list-filter-view-css' => 'ebd26861',
'aphront-pager-view-css' => '8de9d42a', 'aphront-pager-view-css' => 'ebd26861',
'aphront-panel-view-css' => '8de9d42a', 'aphront-panel-view-css' => 'ebd26861',
'aphront-table-view-css' => '8de9d42a', 'aphront-table-view-css' => 'ebd26861',
'aphront-tokenizer-control-css' => '8de9d42a', 'aphront-tokenizer-control-css' => 'ebd26861',
'aphront-tooltip-css' => '8de9d42a', 'aphront-tooltip-css' => 'ebd26861',
'aphront-typeahead-control-css' => '8de9d42a', 'aphront-typeahead-control-css' => 'ebd26861',
'differential-changeset-view-css' => '8aaacd1b', 'differential-changeset-view-css' => '8aaacd1b',
'differential-core-view-css' => '8aaacd1b', 'differential-core-view-css' => '8aaacd1b',
'differential-inline-comment-editor' => '322728f3', 'differential-inline-comment-editor' => '322728f3',
@ -3942,7 +3942,7 @@ celerity_register_resource_map(array(
'differential-table-of-contents-css' => '8aaacd1b', 'differential-table-of-contents-css' => '8aaacd1b',
'diffusion-commit-view-css' => 'c8ce2d88', 'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88', 'diffusion-icons-css' => 'c8ce2d88',
'global-drag-and-drop-css' => '8de9d42a', 'global-drag-and-drop-css' => 'ebd26861',
'inline-comment-summary-css' => '8aaacd1b', 'inline-comment-summary-css' => '8aaacd1b',
'javelin-aphlict' => '95ceba95', 'javelin-aphlict' => '95ceba95',
'javelin-behavior' => 'fe22443b', 'javelin-behavior' => 'fe22443b',
@ -4014,48 +4014,48 @@ celerity_register_resource_map(array(
'javelin-util' => 'fe22443b', 'javelin-util' => 'fe22443b',
'javelin-vector' => 'fe22443b', 'javelin-vector' => 'fe22443b',
'javelin-workflow' => 'fe22443b', 'javelin-workflow' => 'fe22443b',
'lightbox-attachment-css' => '8de9d42a', 'lightbox-attachment-css' => 'ebd26861',
'maniphest-task-summary-css' => 'c41b4907', 'maniphest-task-summary-css' => 'c41b4907',
'maniphest-transaction-detail-css' => 'c41b4907', 'maniphest-transaction-detail-css' => 'c41b4907',
'phabricator-busy' => '95ceba95', 'phabricator-busy' => '95ceba95',
'phabricator-content-source-view-css' => '8aaacd1b', 'phabricator-content-source-view-css' => '8aaacd1b',
'phabricator-core-buttons-css' => '8de9d42a', 'phabricator-core-buttons-css' => 'ebd26861',
'phabricator-core-css' => '8de9d42a', 'phabricator-core-css' => 'ebd26861',
'phabricator-crumbs-view-css' => '8de9d42a', 'phabricator-crumbs-view-css' => 'ebd26861',
'phabricator-directory-css' => '8de9d42a', 'phabricator-directory-css' => 'ebd26861',
'phabricator-drag-and-drop-file-upload' => '322728f3', 'phabricator-drag-and-drop-file-upload' => '322728f3',
'phabricator-dropdown-menu' => '95ceba95', 'phabricator-dropdown-menu' => '95ceba95',
'phabricator-file-upload' => '95ceba95', 'phabricator-file-upload' => '95ceba95',
'phabricator-filetree-view-css' => '8de9d42a', 'phabricator-filetree-view-css' => 'ebd26861',
'phabricator-flag-css' => '8de9d42a', 'phabricator-flag-css' => 'ebd26861',
'phabricator-form-view-css' => '8de9d42a', 'phabricator-form-view-css' => 'ebd26861',
'phabricator-header-view-css' => '8de9d42a', 'phabricator-header-view-css' => 'ebd26861',
'phabricator-jump-nav' => '8de9d42a', 'phabricator-jump-nav' => 'ebd26861',
'phabricator-keyboard-shortcut' => '95ceba95', 'phabricator-keyboard-shortcut' => '95ceba95',
'phabricator-keyboard-shortcut-manager' => '95ceba95', 'phabricator-keyboard-shortcut-manager' => '95ceba95',
'phabricator-main-menu-view' => '8de9d42a', 'phabricator-main-menu-view' => 'ebd26861',
'phabricator-menu-item' => '95ceba95', 'phabricator-menu-item' => '95ceba95',
'phabricator-nav-view-css' => '8de9d42a', 'phabricator-nav-view-css' => 'ebd26861',
'phabricator-notification' => '95ceba95', 'phabricator-notification' => '95ceba95',
'phabricator-notification-css' => '8de9d42a', 'phabricator-notification-css' => 'ebd26861',
'phabricator-notification-menu-css' => '8de9d42a', 'phabricator-notification-menu-css' => 'ebd26861',
'phabricator-object-item-list-view-css' => '8de9d42a', 'phabricator-object-item-list-view-css' => 'ebd26861',
'phabricator-object-selector-css' => '8aaacd1b', 'phabricator-object-selector-css' => '8aaacd1b',
'phabricator-paste-file-upload' => '95ceba95', 'phabricator-paste-file-upload' => '95ceba95',
'phabricator-prefab' => '95ceba95', 'phabricator-prefab' => '95ceba95',
'phabricator-project-tag-css' => 'c41b4907', 'phabricator-project-tag-css' => 'c41b4907',
'phabricator-remarkup-css' => '8de9d42a', 'phabricator-remarkup-css' => 'ebd26861',
'phabricator-shaped-request' => '322728f3', 'phabricator-shaped-request' => '322728f3',
'phabricator-side-menu-view-css' => '8de9d42a', 'phabricator-side-menu-view-css' => 'ebd26861',
'phabricator-standard-page-view' => '8de9d42a', 'phabricator-standard-page-view' => 'ebd26861',
'phabricator-textareautils' => '95ceba95', 'phabricator-textareautils' => '95ceba95',
'phabricator-tooltip' => '95ceba95', 'phabricator-tooltip' => '95ceba95',
'phabricator-transaction-view-css' => '8de9d42a', 'phabricator-transaction-view-css' => 'ebd26861',
'phabricator-zindex-css' => '8de9d42a', 'phabricator-zindex-css' => 'ebd26861',
'sprite-apps-large-css' => '8de9d42a', 'sprite-apps-large-css' => 'ebd26861',
'sprite-gradient-css' => '8de9d42a', 'sprite-gradient-css' => 'ebd26861',
'sprite-icon-css' => '8de9d42a', 'sprite-icon-css' => 'ebd26861',
'sprite-menu-css' => '8de9d42a', 'sprite-menu-css' => 'ebd26861',
'syntax-highlighting-css' => '8de9d42a', 'syntax-highlighting-css' => 'ebd26861',
), ),
)); ));

View file

@ -18,7 +18,10 @@
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
bottom: 0; /* On the iPhone, scrolling down causes the revealed area to fill with white,
then draw with the texture after the action completes. Just make the
element extend off the bottom of the screen to prevent this. */
bottom: -480px;
width: 205px; width: 205px;
background: #33383b; background: #33383b;
box-shadow: inset -3px 0 4px rgba(0, 0, 0, 0.05); box-shadow: inset -3px 0 4px rgba(0, 0, 0, 0.05);