From aad7528d1bfe99cc3d1f3c89aaa769322431efab Mon Sep 17 00:00:00 2001 From: Debanjum Date: Mon, 28 Oct 2024 01:55:24 -0700 Subject: [PATCH] Render slash commands popup below chat input text area on home page --- .../web/app/components/chatInputArea/chatInputArea.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/interface/web/app/components/chatInputArea/chatInputArea.tsx b/src/interface/web/app/components/chatInputArea/chatInputArea.tsx index 7f2baf1df..92a3b3aeb 100644 --- a/src/interface/web/app/components/chatInputArea/chatInputArea.tsx +++ b/src/interface/web/app/components/chatInputArea/chatInputArea.tsx @@ -367,6 +367,11 @@ export const ChatInputArea = forwardRef((pr e.preventDefault()} className={`${props.isMobileWidth ? "w-[100vw]" : "w-full"} rounded-md`} + side="top" + align="center" + /* Offset below text area on home page (i.e where conversationId is unset) */ + sideOffset={props.conversationId ? 0 : 80} + alignOffset={0} >