Page MenuHomePhabricator

When a dropdown menu would render in a way that hides it offscreen, try a different alignment
ClosedPublic

Authored by epriestley on Apr 8 2019, 5:31 PM.
Tags
None
Referenced Files
F19106804: D20383.diff
Sun, Dec 7, 2:23 PM
F19061988: D20383.id48628.diff
Sat, Nov 29, 2:13 PM
F19061987: D20383.id48645.diff
Sat, Nov 29, 2:13 PM
F19061810: D20383.diff
Sat, Nov 29, 1:34 PM
F18986717: D20383.id.diff
Nov 17 2025, 4:30 PM
F18877678: D20383.diff
Nov 6 2025, 11:21 AM
F18837199: D20383.id48645.diff
Oct 27 2025, 4:39 AM
F18837198: D20383.id48629.diff
Oct 27 2025, 4:39 AM
Subscribers
None

Details

Summary

Depends on D20382. Ref T13272. When something near the edge of the screen has a dropdown menu, we currently may render the menu offscreen.

Instead, keep the menu onscreen.

(This is happening because I'm adding dropdown menus to tab query panels.)

Test Plan

Before:

Screen Shot 2019-04-08 at 10.29.37 AM.png (267×389 px, 22 KB)

After:

Screen Shot 2019-04-08 at 10.29.19 AM.png (279×383 px, 28 KB)

Diff Detail

Repository
rP Phabricator
Branch
portal25
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22504
Build 30815: Run Core Tests
Build 30814: arc lint + arc unit