Page MenuHomePhabricator

Repaint filetree more consistently for mobile/device views
ClosedPublic

Authored by epriestley on Aug 27 2018, 5:12 PM.
Tags
None
Referenced Files
F19105654: D19611.id.diff
Dec 6 2025, 10:13 AM
F19103744: D19611.diff
Dec 5 2025, 11:38 AM
F18986482: D19611.diff
Nov 17 2025, 3:09 PM
F18850275: D19611.id46884.diff
Oct 30 2025, 3:31 PM
F18849789: D19611.diff
Oct 30 2025, 12:17 PM
F18835297: D19611.id46883.diff
Oct 26 2025, 2:49 PM
F18751845: D19611.diff
Oct 4 2025, 12:57 PM
F18705113: D19611.id.diff
Sep 28 2025, 10:11 AM
Subscribers
None

Details

Summary

Ref T13189. See https://discourse.phabricator-community.org/t/diffusion-differential-mobile-layout-broken-when-enabling-file-tree/1751.

We currently call a nonexistent resetdrag() which does nothing. Some sequences of interactions can result in a blank left column in mobile/device widths.

Repaint the filetree away more consistently on device change.

Test Plan

Viewed a revision, toggled filetree off + on, resized to narrow width. Before: bad left margin, JS console error. After: proper repaint at device breakpoint, no JS console error.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 27 2018, 5:32 PM
This revision was automatically updated to reflect the committed changes.