Try decoding=sync

pull/160/head
Lim Chee Aun 2023-06-07 19:48:38 +08:00
rodzic ec88110e2d
commit e502b8e377
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -118,7 +118,7 @@ function Media({ media, to, showOriginal, autoAnimate, onClick = () => {} }) {
height={height}
data-orientation={orientation}
loading="eager"
decoding="async"
decoding="sync"
onLoad={(e) => {
e.target.closest('.media-image').style.backgroundImage = '';
e.target.closest('.media-zoom').style.display = '';