Fix z-indices so the loading indicator is visible

This commit is contained in:
2024-12-17 18:03:16 +01:00
parent 4e822690ed
commit c8b2aa8b5a
2 changed files with 4 additions and 2 deletions

View File

@ -36,6 +36,8 @@
load = true;
};
// Once the image component is mounted (e.g. when the image has loaded),
// transition the opacity to fade-in the image
const img_opacity_handler = (node: HTMLElement) => {
setTimeout(() => (node.style.opacity = "1"), 20);
};