1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 10:42:41 +01:00
phorge-phorge/webroot/rsrc/js/application/diffusion
epriestley ea67a8ab8e Make scrolling happen relative to the main content frame
Summary: Fixes T7033. When we've reframed the main page content we need to scroll relative to the containing frame, not relative to the window.

Test Plan:
In Safari, Chrome and Firefox, used j/k/J/K keys to navigate diff content.

Tried some other scroll-based beahviors, like jump-to-anchors.

(It looks like the highlighting reticle got slightly derped a while ago, but it's still functional, so I didn't mess with it.)

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T7033

Differential Revision: https://secure.phabricator.com/D11490
2015-01-25 08:42:40 -08:00
..
behavior-audit-preview.js Remove unused JavaScript variables. 2014-06-24 03:27:47 +10:00
behavior-commit-branches.js Various linter fixes. 2014-02-26 12:44:58 -08:00
behavior-commit-graph.js Various linter fixes. 2014-02-26 12:44:58 -08:00
behavior-jump-to.js Make scrolling happen relative to the main content frame 2015-01-25 08:42:40 -08:00
behavior-load-blame.js Load blame in Diffusion by AJAX 2013-03-06 07:44:45 -08:00
behavior-locate-file.js Add a SublimeText-style repository typeahead 2014-05-13 14:08:21 -07:00
behavior-pull-lastmodified.js Always pull extra browse information over Ajax, and batch some of the queries 2014-05-12 11:47:27 -07:00
DiffusionLocateFileSource.js Change double quotes to single quotes in JavaScript. 2014-06-24 03:35:39 +10:00