Ignore clicks when hidden

This commit is contained in:
Ian Philips 2022-08-03 18:42:40 -06:00
parent 5bc905b358
commit d83e103fab

View File

@ -214,8 +214,8 @@ export function GroupChatInBubble(props: {
return (
<Col
className={clsx(
'fixed right-0 bottom-[0px] h-screen w-full sm:bottom-[20px] sm:right-20 sm:w-2/3 md:w-1/2 lg:right-24 lg:w-1/3 xl:right-32 xl:w-1/4',
shouldShowChat ? 'z-10 bg-white p-2' : ''
'fixed right-0 bottom-[0px] h-1 w-full sm:bottom-[20px] sm:right-20 sm:w-2/3 md:w-1/2 lg:right-24 lg:w-1/3 xl:right-32 xl:w-1/4',
shouldShowChat ? 'p-2m z-10 h-screen bg-white' : ''
)}
>
{shouldShowChat && (