Use bottom anchor for the commandbar popover

This commit is contained in:
sabaimran 2024-10-31 20:40:38 -07:00
parent 21858acccc
commit 149cbe1019

View file

@ -398,7 +398,7 @@ export const ChatInputArea = forwardRef<HTMLTextAreaElement, ChatInputProps>((pr
<PopoverContent <PopoverContent
onOpenAutoFocus={(e) => e.preventDefault()} onOpenAutoFocus={(e) => e.preventDefault()}
className={`${props.isMobileWidth ? "w-[100vw]" : "w-full"} rounded-md`} className={`${props.isMobileWidth ? "w-[100vw]" : "w-full"} rounded-md`}
side="top" side="bottom"
align="center" align="center"
/* Offset below text area on home page (i.e where conversationId is unset) */ /* Offset below text area on home page (i.e where conversationId is unset) */
sideOffset={props.conversationId ? 0 : 80} sideOffset={props.conversationId ? 0 : 80}