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
Unknown Object (File)
Sat, Dec 7, 1:15 AM
Unknown Object (File)
Thu, Nov 28, 2:03 AM
Unknown Object (File)
Sat, Nov 23, 10:22 PM
Unknown Object (File)
Fri, Nov 22, 7:20 AM
Unknown Object (File)
Oct 30 2024, 6:45 AM
Unknown Object (File)
Oct 29 2024, 3:54 PM
Unknown Object (File)
Oct 24 2024, 7:24 AM
Unknown Object (File)
Oct 22 2024, 8:34 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.