Page MenuHomePhabricator

When you make the file tree huge, scroll to the right, and then toggle it, stop it from growing
ClosedPublic

Authored by epriestley on Apr 11 2018, 8:57 PM.
Tags
None
Referenced Files
F18807734: D19347.id46292.diff
Sun, Oct 19, 3:16 AM
F18774857: D19347.id46285.diff
Fri, Oct 10, 5:11 PM
F18742275: D19347.id.diff
Thu, Oct 2, 6:21 PM
F18739916: D19347.diff
Wed, Oct 1, 11:31 PM
F18733801: D19347.id.diff
Tue, Sep 30, 10:42 PM
F18704496: D19347.diff
Sun, Sep 28, 7:49 AM
F18637734: D19347.diff
Sep 17 2025, 8:21 AM
F18509557: D19347.id.diff
Sep 5 2025, 3:28 AM
Subscribers
None

Details

Summary

Depends on D19346. Ref PHI568. I love Javascript.

Test Plan
  • Viewed a revision.
  • Dragged file tree view really wide.
  • Scrolled document to the right.
  • Toggled file tree off and on by pressing "f" twice.
    • Before patch: file tree grew wider and wider after it was toggled.
    • After patch: file tree stayed the same size after it was toggled.
  • Dragged to various widths and reloaded to make sure the "sticky across reloads" behavior still works.
  • Scrolled right, dragged the tree a bit, then reloaded and didn't see it flip out.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable