Allow closing the embed on clicking the black transparent area (#9706)

This commit is contained in:
Hariom Balhara
2023-06-22 07:33:50 +00:00
committed by GitHub
parent 5cecf3104f
commit 697d8eca43
@@ -119,6 +119,8 @@ const BookerComponent = ({
<div
ref={animationScope}
className={classNames(
// In a popup embed, if someone clicks outside the main(having main class or main tag), it closes the embed
"main",
// Sets booker size css variables for the size of all the columns.
...getBookerSizeClassNames(layout, bookerState, hideEventTypeDetails),
"bg-default dark:bg-muted grid max-w-full items-start dark:[color-scheme:dark] sm:transition-[width] sm:duration-300 sm:motion-reduce:transition-none md:flex-row",