1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 09:12:41 +01:00
phorge-phorge/webroot/rsrc/externals/javelin/lib
epriestley e0289070db Fix window-exiting drags and drag-and-hold behaviors in JX.Scrollbar
Summary:
Fixes two issues:

  - In Firefox, dragging outside the window and releasing the mouse button would miss the `mouseup` event. This would leave the bar dragging, even though the user had released the mouse button.
  - In all browsers, dragging the handle and then holding your cursor in one place for more than a second would hide the handle. Instead, never hide the handle during a drag.

Test Plan:
  - In Firefox, dragged handle right (outside of window) and released mouse button. Waved cursor over window; no more "sticky" scroll.
  - In FF/Chrome/Safari, dragged handle and held cursor in same position for several seconds. No more handle hide.
  - Waved cursor over window and made sure normal hiding still works.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D11487
2015-01-24 16:42:21 -08:00
..
__tests__ Remove an unused variable 2015-01-20 21:25:40 +11:00
control Use single quotes in JavaScript files 2015-01-20 08:53:47 +11:00
behavior.js Remove @group annotations 2014-07-10 08:12:48 +10:00
Cookie.js Fix another undefined variable 2015-01-20 08:55:04 +11:00
DOM.js Use single quotes in JavaScript files 2015-01-20 08:53:47 +11:00
History.js Remove spurious "+x" from files that shouldn't have it 2013-10-05 05:18:17 -07:00
JSON.js Remove @group annotations 2014-07-10 08:12:48 +10:00
Leader.js Fix an undefined variable 2015-01-23 07:22:39 +11:00
Mask.js Remove @group annotations 2014-07-10 08:12:48 +10:00
Request.js Fix various lint issues in rJX 2015-01-14 07:59:56 +11:00
Resource.js Fix various lint issues in rJX 2015-01-14 07:59:56 +11:00
Routable.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00
Router.js Provide a global router for Ajax requests 2014-05-05 10:57:42 -07:00
Scrollbar.js Fix window-exiting drags and drag-and-hold behaviors in JX.Scrollbar 2015-01-24 16:42:21 -08:00
URI.js Remove @group annotations 2014-07-10 08:12:48 +10:00
Vector.js When dragging stuff around, compensate for changes in scroll position 2014-08-09 08:49:01 -07:00
WebSocket.js Fix various lint issues in rJX 2015-01-14 07:59:56 +11:00
Workflow.js Remove @group annotations 2014-07-10 08:12:48 +10:00