Added transition to modal open

This commit is contained in:
Mitchell McCaffrey
2021-05-24 17:28:57 +10:00
parent 4e5bd8bf02
commit 82f3a985f2
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ function TilesOverlay({ children }) {
const openAnimation = useSpring({
opacity: openGroupId ? 1 : 0,
transform: openGroupId ? "scale(1)" : "scale(0.95)",
transform: openGroupId ? "scale(1)" : "scale(0.99)",
config: config.gentle,
});