Skip to content

Commit

Permalink
fix: restore opening card animations
Browse files Browse the repository at this point in the history
  • Loading branch information
antibland committed Jan 18, 2025
1 parent e549143 commit 2fc7cba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ export function ImgStack({ images, className = "", size }: ImgStackProps) {
buttonRefs.current[0] = el;
}}
className={`project-images-stack ${className}`}
data-in-view={animatedStacks.length > 0 ? "true" : "false"}
onClick={() => setDialogOpen(true)}
onMouseEnter={() => setIsHovered(true)}
onMouseLeave={() => setIsHovered(false)}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "img-stacks",
"version": "0.3.2",
"version": "0.3.3",
"private": true,
"type": "module",
"scripts": {
Expand Down

0 comments on commit 2fc7cba

Please sign in to comment.