Skip to content

Commit

Permalink
chatbox: removes prevent to close on clicking outside (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
Diogomartf authored Feb 24, 2025
1 parent ee6e136 commit 9c9664e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/components/AiChatBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ export const AiChatBase = ({
<div className="fixed bottom-4 right-2 flex w-full items-center justify-end px-2 md:bottom-10 md:right-0 md:px-6">
<div className="flex flex-col items-end">
<Dialog.Portal>
<Dialog.Content
className="fixed bottom-20 right-0 w-full origin-bottom-right rounded-16 border border-outline-base-em bg-surface-surface-0 shadow-2 data-[state=open]:animate-grow md:bottom-28 md:right-4 md:w-[420px]"
onInteractOutside={event => event.preventDefault()}
>
<Dialog.Content className="fixed bottom-20 right-0 w-full origin-bottom-right rounded-16 border border-outline-base-em bg-surface-surface-0 shadow-2 data-[state=open]:animate-grow md:bottom-28 md:right-4 md:w-[420px]">
<Dialog.Description hidden={true}>
Presagio chatbot window
</Dialog.Description>
Expand Down

0 comments on commit 9c9664e

Please sign in to comment.