Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

added absolute positioning to focus trap container

msmps03c31b8fd80d
diff --git a/components/shared/modal.tsx b/components/shared/modal.tsx
index 980b16a185..31b7ccfb3d 100644
--- a/components/shared/modal.tsx
+++ b/components/shared/modal.tsx
@@ -70,7 +70,7 @@ export default function Modal({
{showModal && (
<>
<FocusTrap>
- <div>
+ <div className="absolute">
<motion.div
ref={mobileModalRef}
key="mobile-modal"