fix: change animation from spring to tween for sliding

This commit is contained in:
Anish Sarkar 2026-01-23 04:56:15 +05:30
parent 4cbf80d73a
commit e6a4ac7c9c
3 changed files with 3 additions and 3 deletions

View file

@ -446,7 +446,7 @@ export function InboxSidebar({
initial={{ x: "-100%" }}
animate={{ x: 0 }}
exit={{ x: "-100%" }}
transition={{ type: "spring", damping: 25, stiffness: 300 }}
transition={{ type: "tween", duration: 0.3, ease: "easeOut" }}
className="fixed inset-y-0 left-0 z-70 w-90 bg-background shadow-xl flex flex-col pointer-events-auto isolate"
role="dialog"
aria-modal="true"