ElemeFE / ElemeFE/element

[Bug Report] el-image lazy loading doesn't lazily load

Open
#19,089 2 comments 0 reactions 0 assignees View on GitHub
component: image stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.0

### OS/Browsers version
Windows 10 1903, Chrome 80.0.3987.149

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/painty/pen/poJYaGP

### Steps to reproduce
1. Go to the codepen demo page above
2. Open Chrome devTools and switch to Network panel
3. Refresh the codepen demo page and watch the network resource request

### What is Expected?
The image should only load when it scrolls into view.

### What is actually happening?
All images load instantly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.