decky-frontend-lib
decky-frontend-lib copied to clipboard
Dropdown contextMenuPositionOptions prop definition
This is untested on Steam Deck, though seemingly all components function the same across platforms.
bMatchWidth implicitly true, controls whether the opened Dropdown menu will match the width of the Dropdown component on the viewport.
<Dropdown contextMenuPositionOptions={{bMatchWidth: false}}/>
<Dropdown contextMenuPositionOptions={{bMatchWidth: true}}/>
this could entirely be relative to IN_CLIENT || IN_DECK but I'm just throwing it out there in case