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.

Fix animation

Tim Wilsonda1b3d30c831
diff --git a/apps/web/ui/layout/user-survey.tsx b/apps/web/ui/layout/user-survey.tsx
index 4682e928f1..a129ce0750 100644
--- a/apps/web/ui/layout/user-survey.tsx
+++ b/apps/web/ui/layout/user-survey.tsx
@@ -1,16 +1,16 @@
"use client";
import {
- Logo,
+ Github,
+ Google,
Label,
+ LinkedIn,
+ Logo,
+ PopupContext,
+ ProductHunt,
RadioGroup,
RadioGroupItem,
- PopupContext,
Twitter,
- LinkedIn,
- ProductHunt,
- Google,
- Github,
} from "@dub/ui";
import { cn } from "@dub/utils";
import { Globe, X } from "lucide-react";
diff --git a/packages/ui/src/popup.tsx b/packages/ui/src/popup.tsx
index ab03d3ccec..9f7af99888 100644
--- a/packages/ui/src/popup.tsx
+++ b/packages/ui/src/popup.tsx
@@ -28,9 +28,9 @@ export function Popup({
<AnimatePresence>
{!hidden && (
<motion.div
- key="popup"
- initial={{ opacity: 0, y: 50 }}
- animate={{ opacity: 1, y: 0 }}
+ className="fixed inset-0"
+ initial={{ opacity: 0, translateY: 50 }}
+ animate={{ opacity: 1, translateY: 0 }}
exit={{ y: 250 }}
>
{children}