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
F15473533: D19611.id46883.diff
Sat, Apr 5, 11:18 PM
F15454739: D19611.id46884.diff
Sat, Mar 29, 8:05 PM
F15435881: D19611.id46883.diff
Tue, Mar 25, 10:40 AM
F15431390: D19611.id.diff
Mon, Mar 24, 12:05 PM
F15427244: D19611.diff
Sun, Mar 23, 1:26 PM
F15399172: D19611.diff
Mon, Mar 17, 3:11 AM
F15382106: D19611.diff
Mar 14 2025, 10:41 AM
F15322516: D19611.diff
Mar 6 2025, 11:48 PM
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.