Specify lazy loading for avatars (#10866)

* Specify lazy loading for avatars

so browser doesn't fetch eagerly if off-screen

* Update snapshots
This commit is contained in:
Michael Telatynski
2023-05-11 19:29:48 +01:00
committed by GitHub
parent 73007d6dd6
commit 2cee8a4b01
19 changed files with 44 additions and 4 deletions
@@ -110,6 +110,7 @@ exports[`MessagePanel should handle lots of membership events quickly 1`] = `
aria-hidden="true"
class="mx_BaseAvatar_image"
data-testid="avatar-img"
loading="lazy"
src="data:image/png;base64,00"
style="width: 14px; height: 14px;"
title="@user:id"