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
F15429226: D20383.id48628.diff
Mon, Mar 24, 1:13 AM
Unknown Object (File)
Feb 15 2025, 6:46 PM
Unknown Object (File)
Feb 15 2025, 6:46 PM
Unknown Object (File)
Feb 15 2025, 2:37 AM
Unknown Object (File)
Feb 15 2025, 2:37 AM
Unknown Object (File)
Feb 9 2025, 7:34 AM
Unknown Object (File)
Feb 9 2025, 7:34 AM
Unknown Object (File)
Feb 9 2025, 7:34 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