hexo-theme-butterfly icon indicating copy to clipboard operation
hexo-theme-butterfly copied to clipboard

[Bug]: Lazyload images blurs on iOS (mobile), MacOS

Open RoversX opened this issue 1 year ago โ€ข 0 comments

ไฝฟ็”จ็š„ Butterfly ็‰ˆๆœฌ๏ผŸ | What version of Butterfly are you use?

4.12

ๆ˜ฏๅฆไฟฎๆ”น่ฟ‡ไธป้ข˜ๆ–‡ไปถ๏ผŸ || Has the theme files been modified?

ๆ˜ฏ (Yes)

ไฝฟ็”จ็š„็€่ฆฝๅ™จ๏ผŸ || What browse are you using?

Safari

ไฝฟ็”จ็š„็ณป็ตฑ๏ผŸ || What operating system are you using?

iOS

ไพ่ณดๆ’ไปถ | Package dependencies Information

โ”œโ”€โ”€ @renbaoshuo/[email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ”œโ”€โ”€ [email protected]
โ””โ”€โ”€ [email protected]

ๅ•้กŒๆ่ฟฐ | Describe the bug

# Lazyload (ๅœ–็‰‡ๆ‡ถๅŠ ่ผ‰)
# https://github.com/verlok/vanilla-lazyload
lazyload:
  enable: True
  field: site # site/post
  placeholder:
  blur: false

When using lazyload, on Apple devices with a screen width geared towards mobile and during the first load, images appear blurry. However, after waiting for a while, the images become clear. If the image is enlarged using medium-zoom or fancybox while it's still blurry, the image turns clear, when close it, turn blurry again. This issue only occurs in Safari and has been tested without issues on Android Chrome (Chrome 120.0.6099.210), macOS Chrome (Version 120.0.6099.216 (Official Build) (arm64)), and Windows Edge. Additionally, if the phone is rotated to landscape mode and then back to portrait mode, the images become clear. This indicates that the issue is related to the width of the images. When lazy loading is disabled, the issue no longer occurs. Let's hope this gets fixed. Thank you.

Simulator Screenshot - iPhone 14 Pro - 2024-01-16 at 22 34 14 Simulator Screenshot - iPhone 14 Pro - 2024-01-16 at 22 34 14

ๅ‡บ็พๅ•้กŒ็ถฒ็ซ™ | Website

https://blog.closex.org/posts/8d02fdaf/

RoversX avatar Jan 17 '24 06:01 RoversX