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

pull/9700/head^2
Hariom Balhara 2023-06-22 13:03:50 +05:30 committed by GitHub
parent 5cecf3104f
commit 697d8eca43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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",