@ -4,6 +4,7 @@ import {
|
|||||||
PopoverContent,
|
PopoverContent,
|
||||||
Button,
|
Button,
|
||||||
chakra,
|
chakra,
|
||||||
|
Portal,
|
||||||
} from '@chakra-ui/react'
|
} from '@chakra-ui/react'
|
||||||
import { UsersIcon } from '@/components/icons'
|
import { UsersIcon } from '@/components/icons'
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
@ -28,13 +29,15 @@ export const ShareTypebotButton = ({ isLoading }: { isLoading: boolean }) => {
|
|||||||
</chakra.span>
|
</chakra.span>
|
||||||
</Button>
|
</Button>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
<PopoverContent
|
<Portal>
|
||||||
shadow="lg"
|
<PopoverContent
|
||||||
width="430px"
|
shadow="lg"
|
||||||
rootProps={{ style: { transform: 'scale(0)' } }}
|
width="430px"
|
||||||
>
|
rootProps={{ style: { transform: 'scale(0)' } }}
|
||||||
<SharePopoverContent />
|
>
|
||||||
</PopoverContent>
|
<SharePopoverContent />
|
||||||
|
</PopoverContent>
|
||||||
|
</Portal>
|
||||||
</Popover>
|
</Popover>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user