Skip to content

Commit 1a12fc8

Browse files
committed
add todo for random image flicker
1 parent c86341a commit 1a12fc8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/react/ImageBlurPreloader.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ const ImageBlurPreloader: FC<Props> = ({
6363
: blurAttributes.src || blurAttributes.srcSet
6464
);
6565

66+
// Todo: cant use opacity for control, must use 2 <img /> tags
67+
// incomingMain, currentMain states, and assign key for unmount
68+
// https://chatgpt.com/s/t_689754f4fbf8819181ad44b5f3a0bbd7
69+
6670
return (
6771
<div className={cn('relative size-full', divClassName)}>
6872
{hasImage && (

0 commit comments

Comments
 (0)