ElemeFE / ElemeFE/element

[Bug Report] el-image sets lazy loading in el-table, and pictures that exceed the page after obtaining the data are not displayed.

Open
#22,717 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.10

### OS/Browsers version
Windows 10/Chrome 118.0.5993.70

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/armin926/pen/vYbOgev

### Steps to reproduce
Use el-image in el-table and set lazy loading, and set 10 pieces of data per page (ie: the actual height of the table container exceeds the page height)

### What is Expected?
When el-table loads the data, do you need to update el-image?
Set up the lazy ‘scroll-container’ container to achieve lazy loading of images scrolling inside the table, instead of using the parent element or body element of the table as the scroll-container bound container

### What is actually happening?
The image at the bottom of the table cannot be displayed

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.