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
F22677500: D20383.diff
Thu, Oct 1, 11:31 PM
F22658962: D20383.id48645.diff
Thu, Oct 1, 7:16 AM
F22658961: D20383.id48629.diff
Thu, Oct 1, 7:16 AM
F22658959: D20383.id48628.diff
Thu, Oct 1, 7:16 AM
F22658955: D20383.id.diff
Thu, Oct 1, 7:16 AM
F22656324: D20383.diff
Thu, Oct 1, 3:54 AM
F22639830: D20383.id.diff
Wed, Sep 30, 11:43 AM
F22632279: D20383.diff
Wed, Sep 30, 2:05 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable