Skip to content

Commit

Permalink
fix(ui): update transition property for blur image effect
Browse files Browse the repository at this point in the history
  • Loading branch information
tszhong0411 committed Feb 2, 2025
1 parent 82ecec2 commit 5302289
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/rare-bears-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tszhong0411/ui': patch
---

Update transition property for blur image effect
2 changes: 1 addition & 1 deletion packages/ui/src/blur-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const BlurImage = (props: ImageProps) => {
<NextImage
className={cn(isLoading && 'scale-[1.02] blur-xl grayscale', imageClassName)}
style={{
transition: 'filter 700ms ease, transform 150ms ease'
transition: 'filter 700ms ease, scale 150ms ease'
}}
src={src}
alt={alt}
Expand Down

0 comments on commit 5302289

Please sign in to comment.