Use skeleton for review image loading (#10040)

* don't show chips and date when image is loading

* add skeleton and change observer threshold

* remove debug

* use skeleton for live view too

* old activity indicator looks better on live

* fix gradients and lazy load with skeleton

* fading effects
This commit is contained in:
Josh Hawkins
2024-02-26 10:07:54 -06:00
committed by GitHub
parent 4061be602d
commit 8d96111184
5 changed files with 102 additions and 37 deletions

View File

@@ -133,7 +133,7 @@ export default function DesktopEventView({
setMinimap([...visibleTimestamps]);
});
},
{ root: contentRef.current, threshold: 0.5 }
{ root: contentRef.current, threshold: 0.1 }
);
return () => {