Page MenuHomePhabricator

Don't activate JX.Scrollbar if we don't need to
ClosedPublic

Authored by epriestley on Jan 24 2015, 2:18 AM.
Tags
None
Referenced Files
F14482219: D11480.id27620.diff
Mon, Dec 30, 7:59 AM
Unknown Object (File)
Sat, Dec 28, 4:28 PM
Unknown Object (File)
Sat, Dec 21, 4:42 PM
Unknown Object (File)
Sat, Dec 21, 1:28 AM
Unknown Object (File)
Fri, Dec 20, 11:14 AM
Unknown Object (File)
Sat, Dec 14, 2:48 PM
Unknown Object (File)
Fri, Dec 6, 6:23 PM
Unknown Object (File)
Nov 28 2024, 6:57 PM
Subscribers

Details

Summary

See discussion on rPc40bc0c8bf75. Fixes a couple of glitchy things:

  • Things were generally not nice on iOS.
  • On OSX, with no mouse, the OS scrollbar and our fake scrollbar would both draw.
  • Bar z-index was not set quite correctly.

Specifically, check if we need these bars. If we don't, just exit immediately and use the OS bars.

Test Plan
  • Tested Safari, Firefox, Chrome with and without a mouse.
  • Tested iOS Simualtor.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Don't activate JX.Scrollbar if we don't need to.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, btrahan.
chad edited edge metadata.
This revision is now accepted and ready to land.Jan 24 2015, 2:22 AM
This revision was automatically updated to reflect the committed changes.