Closed marvinruder closed 6 months ago
Can you confirm that this is just the behavior on Safari?
Can you confirm that this is just the behavior on Safari?
@siriwatknp Yes, I tested it on Chrome for macOS and it worked fine there.
This appears to be fixed in a more recent version of either Safari or Material UI. I can no longer reproduce it on Safari 17.4.1 and with Material UI 5.15.18.
Steps to reproduce
Link to live example
Steps:
loading: "lazy"
attribute.Current behavior
The image is loaded twice.
Expected behavior
The image is loaded once and only when the browser needs it.
Context
No response
Your environment
``` System: OS: Linux 6.6 Alpine Linux Binaries: Node: 21.6.1 - /usr/local/bin/node npm: 10.2.4 - /usr/local/bin/npm pnpm: Not Found Browsers: Safari: 17.3 (19617.2.4.11.8) on macOS 14.3 (build 23D56) ```npx @mui/envinfo
Search keywords: lazy loading