I’m running into a UI issue with both Select and Dropdown elements. Whenever the element sits near the bottom of a page or modal, the options list opens downward and disappears off-screen. (See the attached screenshot – the red circle shows the menu getting cut off.)
What I’ve tried so far
- Offset formulas – I wrote a Y-offset formula that checks the element’s Y position against
Screen.pageSize.height
and flips the list upward when space is tight:
if ( Screen.pageSize.height - Position_of_split-remainder-dropdown-y < 200 ) { Screen.pageSize.height - Position_of_split-remainder-dropdown-y - 250 } else { 1 }
This works on that single dropdown, but I’d have to repeat (and maintain) a custom formula for potentially thousands of dropdowns across the Transactions screen, which isn’t scalable.
-
Exploring props – I looked through every panel for a “portal mode,” “placement,” or “auto” setting (similar to what react-select offers), but nothing like that appears anywhere (this was recommended to me by ChatGPT and Gemini).
-
Swapping elements – I tested both the Select component and the standalone Dropdown element. Same behaviour for both.
What I’m hoping for
-
A built-in setting or best-practice pattern that makes dropdowns automatically flip upward (or otherwise stay fully visible) when there isn’t enough space below.
-
Alternatively, a global way to apply a single formula or JS hook so I don’t have to paste an Offset rule on every instance.
Has anyone solved this elegantly? I’d love any pointers, hidden settings, or example projects you can share.
Thanks in advance!