fix(desktop): flip select menus up when the window clips them (#11495)

Signed-off-by: Seydi Charyyev <seydi.charyev@gmail.com>
This commit is contained in:
Seydi Charyyev
2026-08-26 09:45:09 +00:00
committed by GitHub
parent 471904312e
commit 40602ba7b8
+3
View File
@@ -6,6 +6,9 @@ export const Select = (props: React.ComponentProps<typeof ReactSelect>) => {
<ReactSelect
{...props}
unstyled
// react-select opens downwards by default, so a control near the bottom of the
// window puts the last options past its edge. 'auto' flips the menu up instead.
menuPlacement={props.menuPlacement ?? 'auto'}
isSearchable={props.isSearchable !== false}
closeMenuOnSelect={props.closeMenuOnSelect !== false}
blurInputOnSelect={props.blurInputOnSelect !== false}