From: Alexander Ebert Date: Sun, 8 May 2022 11:54:02 +0000 (+0200) Subject: Lazy loading the user’s avatar causes flashes X-Git-Tag: 5.5.0_Beta_1~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=04e04bfb15597a05fdfd814df4efd1b599fe6073;p=GitHub%2FWoltLab%2FWCF.git Lazy loading the user’s avatar causes flashes Safari (macOS and iOS) does not handle lazy loaded images above the fold gracefully. This causes the user’s avatar to flicker noticeably on ever page navigation. --- diff --git a/com.woltlab.wcf/templates/pageHeaderUser.tpl b/com.woltlab.wcf/templates/pageHeaderUser.tpl index 1c02dc3d27..d7650b054e 100644 --- a/com.woltlab.wcf/templates/pageHeaderUser.tpl +++ b/com.woltlab.wcf/templates/pageHeaderUser.tpl @@ -1,6 +1,6 @@