mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): InvContextMenu.placement = 'auto-end'
This ensures the context menus don't get cut off when the window size is very small.
This commit is contained in:
committed by
Kent Keirsey
parent
e698a8006c
commit
598241e0f2
@ -95,6 +95,7 @@ export const InvContextMenu = typedMemo(
|
|||||||
isOpen={isDeferredOpen}
|
isOpen={isDeferredOpen}
|
||||||
gutter={0}
|
gutter={0}
|
||||||
onClose={onCloseHandler}
|
onClose={onCloseHandler}
|
||||||
|
placement="auto-end"
|
||||||
{...props.menuProps}
|
{...props.menuProps}
|
||||||
>
|
>
|
||||||
<InvMenuButton
|
<InvMenuButton
|
||||||
|
Reference in New Issue
Block a user