A drawer component for React.
Fix close bug (#101)
Emil Kowalski58181569687c
diff --git a/src/index.tsx b/src/index.tsxindex 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(() => {