Skip to content

Commit 8216b53

Browse files
committed
fix(home): enable collision avoidance for @-mention popup so it fits in narrow chats
1 parent f9f0f75 commit 8216b53

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

apps/sim/app/workspace/[workspaceId]/home/components/user-input/components/plus-menu-dropdown.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ export const PlusMenuDropdown = React.memo(
245245
align='start'
246246
side='top'
247247
sideOffset={8}
248-
avoidCollisions={!isMention}
248+
avoidCollisions
249+
collisionPadding={8}
249250
className={cn(
250251
'flex flex-col overflow-hidden',
251252
// Plus-click shows short fixed labels (Workflows, Tables, …) — let it size

0 commit comments

Comments
 (0)