Fix review handle bar not draggable on touchscreens

Review Request #11816 — Created Sept. 17, 2021 and updated — Latest diff uploaded

Information

Review Board
master

Reviewers

Review handle bar was draggable with mouse due to the mouseup, mousedown
and mousemove events. However, there were no events to allow for
touchscreen access and thus the handle bar was not draggable for
touchscreen devices.

We are now utilizing pointer events instead of mouse events to account
for touchscreen input.

Tested in Chrome and Firefox browser using touchscreen accessibility
mode. Also tested mouse events continue working as expected.

Diff Revision 4 (Latest)

orig
1
2
3
4

Commits

First Last Summary ID Author
WIP: page is not scrollable but the handle is
e28830a1736a35dc4131d183a1956ee9ebfc5ea7 aruslanov@fispan.com
cleaned up all the console.logs
a6b632332a7b81f65c16466f421baba60f05eff2 aruslanov@fispan.com
Works as expected: handle is draggable and page is scrollable
0152e9b7d47bf7fd3f820ac6fc8886723f7eaf7e aruslanov@fispan.com
aligned some items; deleted whitespaces
9984298fe4465f58a1dac004c3298e15d8ae4491 aruslanov@fispan.com
removed white space
28268e2821865fb8d290ac763bd51714b92a21aa aruslanov@fispan.com
reviewboard/static/rb/css/pages/diffviewer.less
reviewboard/static/rb/js/views/revisionSelectorView.es6.js
Loading...