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
F14053920: D20383.diff
Fri, Nov 15, 8:43 PM
F14043371: D20383.diff
Tue, Nov 12, 9:48 AM
F14037962: D20383.diff
Sun, Nov 10, 8:27 PM
F14026141: D20383.diff
Thu, Nov 7, 11:48 PM
F14005346: D20383.id48629.diff
Sun, Oct 27, 11:55 AM
F13985220: D20383.id48628.diff
Sun, Oct 20, 6:57 PM
F13975804: D20383.diff
Oct 18 2024, 11:42 AM
F13958028: D20383.id48645.diff
Oct 14 2024, 12:30 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