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
F18762319: D20383.diff
Mon, Oct 6, 6:29 PM
F18736699: D20383.id.diff
Wed, Oct 1, 7:15 AM
F18691263: D20383.id.diff
Fri, Sep 26, 8:56 PM
F18659457: D20383.diff
Tue, Sep 23, 12:31 PM
F18634978: D20383.id48629.diff
Tue, Sep 16, 11:57 PM
F18630606: D20383.id.diff
Tue, Sep 16, 12:09 PM
F18594005: D20383.diff
Fri, Sep 12, 4:42 PM
F18594002: D20383.diff
Fri, Sep 12, 4:41 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable