decky-frontend-lib icon indicating copy to clipboard operation
decky-frontend-lib copied to clipboard

Dropdown contextMenuPositionOptions prop definition

Open shdwmtr opened this issue 1 year ago • 0 comments

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}}/>

Screenshot 2024-05-11 004110

 <Dropdown contextMenuPositionOptions={{bMatchWidth: true}}/>

Screenshot 2024-05-11 003724

this could entirely be relative to IN_CLIENT || IN_DECK but I'm just throwing it out there in case

shdwmtr avatar May 16 '24 15:05 shdwmtr