Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[image] 懒加载失效 #3034

Closed
huxinhai opened this issue Jul 31, 2024 · 4 comments · Fixed by #3036
Closed

[image] 懒加载失效 #3034

huxinhai opened this issue Jul 31, 2024 · 4 comments · Fixed by #3036
Labels
need confirm need confirm

Comments

@huxinhai
Copy link
Collaborator

tdesign-miniprogram 版本

1.4.5

重现链接

No response

重现步骤

在长列表中 使用image组件并且添加了lazy属性,并且通过load事件监听图片加载完成 所有图片都触发了load事件,我使用原生的image组件并且添加了懒加载事件 也是同样的监听load事件 原生的image组件是不会触发所有图片的 往下滑动的时候 就会继续触发load事件 和td里的image组件效果不一样

期望结果

修复image组件懒加载效果 和原生的image组件一样

实际结果

No response

基础库版本

3.1.5

补充说明

No response

Copy link
Contributor

👋 @huxinhai,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao anlyyao added the need confirm need confirm label Jul 31, 2024
@huxinhai
Copy link
Collaborator Author

huxinhai commented Aug 1, 2024

出现 : lazy-load is not enabled because the image is hidden.
Uploading b0cadcf8-29c2-4364-968d-e6a11441fc8c.png…

1 similar comment
@huxinhai
Copy link
Collaborator Author

huxinhai commented Aug 1, 2024

出现 : lazy-load is not enabled because the image is hidden.
Uploading b0cadcf8-29c2-4364-968d-e6a11441fc8c.png…

@huxinhai
Copy link
Collaborator Author

huxinhai commented Aug 1, 2024

b0cadcf8-29c2-4364-968d-e6a11441fc8c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need confirm need confirm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants