diff --git a/src/index.tsx b/src/index.tsx index 56f74a3..e91449b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -352,11 +352,13 @@ function Root({ setTimeout(() => { setIsOpen(false); setVisible(false); + }, 300); + setTimeout(() => { if (snapPoints) { setActiveSnapPoint(snapPoints[0]); } - }, ANIMATION_DURATION); + }, 500); } React.useEffect(() => {