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

如果设置 lazy-src 为空的话会导致在滚动时一直重复设置图片src #3

Open
wanglvhang opened this issue Jun 14, 2017 · 4 comments

Comments

@wanglvhang
Copy link

你好,
很感谢你开发了这个插件,真是省了我很多事情.
我发现的这个问题不算大,正常情况应该碰不到.
但是如果真的把img lazy-src设置为空时,在你滚动的时候chrome的network会出现如下图中的情况, 我觉得这样的重新设置是没有必要的,算是一种优化吧.
http://shared.b0.upaiyun.com/dev/20170615002516.jpg

Regards

@wanglvhang
Copy link
Author

补充下, 在重置的时候似乎img的高度会改变从而导致画面闪烁

@wyntau
Copy link
Owner

wyntau commented Jun 15, 2017

欢迎提 PR

@wanglvhang
Copy link
Author

不好意思 PR 是什么东西?

@wanglvhang
Copy link
Author

pull request? 额.....有点懒啊.... 我看看吧

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

No branches or pull requests

2 participants