Skip to content

Commit 598241e

Browse files
psychedelicioushipsterusername
authored andcommitted
fix(ui): InvContextMenu.placement = 'auto-end'
This ensures the context menus don't get cut off when the window size is very small.
1 parent e698a80 commit 598241e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

invokeai/frontend/web/src/common/components/InvContextMenu/InvContextMenu.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export const InvContextMenu = typedMemo(
9595
isOpen={isDeferredOpen}
9696
gutter={0}
9797
onClose={onCloseHandler}
98+
placement="auto-end"
9899
{...props.menuProps}
99100
>
100101
<InvMenuButton

0 commit comments

Comments
 (0)