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

刷新数据的时候图片位置发生偏移 #7

Open
joohs opened this issue Mar 2, 2021 · 1 comment
Open

刷新数据的时候图片位置发生偏移 #7

joohs opened this issue Mar 2, 2021 · 1 comment

Comments

@joohs
Copy link

joohs commented Mar 2, 2021

在lantern.didChangedPageIndex方法中进行网络请求,然后调用lantern.reloadData方法,会导致图片偏移,网速要足够快。

例:
如下所示,当我从第6张开始滑动到第7张图片的时候,触发了lantern.didChangedPageIndex里面的网络请求,请求完成执行lantern.reloadData方法,更新图片数量。

1614673306773642.mp4
@Olaf2018
Copy link
Collaborator

Olaf2018 commented Mar 9, 2021

pageEnable特性原因,目前存在不能很好衔接的情况,效果上有问题,我们后续会进行优化更新。

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