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
F14377354: D11480.diff
Sat, Dec 21, 1:28 AM
F14361337: D11480.id27620.diff
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)
Thu, Nov 28, 6:57 PM
Unknown Object (File)
Wed, Nov 27, 6:07 PM
Unknown Object (File)
Fri, Nov 22, 11:04 PM
Unknown Object (File)
Nov 17 2024, 9:40 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
Branch
scrolltweak
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4020
Build 4033: [Placeholder Plan] Wait for 30 Seconds

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.