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
F18802962: D11480.id27620.diff
Fri, Oct 17, 9:04 PM
F18760393: D11480.id27619.diff
Mon, Oct 6, 9:09 AM
F18147765: D11480.id27620.diff
Aug 14 2025, 4:28 PM
F17937362: D11480.id27619.diff
Jul 31 2025, 1:08 AM
F17926908: D11480.id.diff
Jul 30 2025, 1:49 PM
F17913617: D11480.diff
Jul 29 2025, 6:09 PM
Unknown Object (File)
Jun 26 2025, 10:35 AM
Unknown Object (File)
Jun 6 2025, 8:38 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.