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

关于下拉翻页无法加载评论的一个小bug #24

Closed
hezhengxu2018 opened this issue Oct 3, 2018 · 2 comments
Closed

关于下拉翻页无法加载评论的一个小bug #24

hezhengxu2018 opened this issue Oct 3, 2018 · 2 comments

Comments

@hezhengxu2018
Copy link

在使用这个小程序的过程中出现了一个比较奇怪的bug,连接默认的wp的时候非常正常,评论是可以正常加载的,但是连接自己的wp的时候就没办法加载评论,提交过评论才可以显示,而且每次都需要评论一下才能正常加载评论的bug。
一开始一直以为是自己wp的设置问题,一直百思不得解,最后发现在连接默认的wp的时候文章拉到低有一个加载的动画,遂开始怀疑是不是自己文章太短了没能让小程序尝试加载,试了一下果然是这样:
当文章足够长到出现滚动条的时候能让滚动条拉到低才会自动加载评论,如果文章过短一页就能显示完的时候就不会加载评论
有时间的话看自己能不能改一下代码,提交一个pull request,能力有限的话就等作者更新

@webzol
Copy link

webzol commented Oct 4, 2018

好的

@iamxjb
Copy link
Owner

iamxjb commented Oct 10, 2018

确实有这个问题,上拉加载需要超过一屏的高度才会触发。

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

3 participants