dont work

This commit is contained in:
Виталий Лавшонок
2025-11-03 20:36:29 +03:00
parent 91aa3e1f80
commit 9a2c2a9589
7 changed files with 175 additions and 44 deletions

View File

@@ -48,9 +48,8 @@ export const Modal: React.FC<ModalProps> = ({
transition={{ duration: 0.15 }}
className={cn(
" fixed top-0 left-0 h-svh w-svw backdrop-filter transition-all z-50",
// " pointer-events-none",
backdrop == "blur" && open ? "backdrop-blur-sm" : "",
backdrop == "opaque" && open ? "bg-[#00000055]" : ""
backdrop == "blur" && open && "backdrop-blur-sm",
backdrop == "opaque" && open && "bg-[#00000055] pointer-events-none",
)}
></motion.div>
)}