removed scroll lock from modal

This commit is contained in:
Maximus 2022-09-08 15:59:14 +03:00
parent 449b05c1a0
commit a047f1fd91

View File

@ -25,7 +25,13 @@ export function BottomSheetModal({
leaveFrom="translate-y-0 opacity-100"
leaveTo="translate-y-full opacity-0"
>
<Dialog className="fixed bottom-0 w-full" as="div" onClose={() => {}}>
<Dialog
className="w-full z-50 fixed bottom-0"
static
open={false}
as="div"
onClose={() => {}}
>
{children}
</Dialog>
</Transition>