Page MenuHomePhabricator

Fix an issue with dragging the scrollbar handle from a noninitial position
ClosedPublic

Authored by epriestley on Jan 24 2015, 9:58 PM.
Tags
None
Referenced Files
F19080417: D11483.id27625.diff
Tue, Dec 2, 1:20 AM
F18948155: D11483.diff
Nov 11 2025, 10:54 PM
F18830565: D11483.id27624.diff
Oct 25 2025, 7:27 AM
F18768213: D11483.id.diff
Oct 8 2025, 2:22 AM
F18767363: D11483.diff
Oct 7 2025, 10:17 PM
F18754667: D11483.id.diff
Oct 5 2025, 12:24 AM
F18705569: D11483.id.diff
Sep 28 2025, 11:59 AM
F18674422: D11483.id27624.diff
Sep 25 2025, 2:52 PM
Subscribers

Details

Summary

See <rPc40bc0c8bf75#4050>. Repro steps:

  • Scroll partway down the page.
  • Click and drag the scroll handle.

Prior to this diff, the handle incorrectly jumps back to the top of the page. This is because we didn't store the handle's original position. (In testing, I always dragged from near the top of the page, and I don't normally drag scrollbars, so I didn't notice this.)

Test Plan

Clicking and dragging a partially scrolled handle now works correctly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix an issue with dragging the scrollbar handle from a noninitial position.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, btrahan.
This revision is now accepted and ready to land.Jan 24 2015, 10:00 PM
This revision was automatically updated to reflect the committed changes.