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

Fix: infinite call loadMore when height changes but not enough #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 10, 2017

  1. Fix: infinite call loadMore when height changes but not enough

    修复以下情况下会导致无限调用 loadMore 的情况:
    1. 当调用 loadMore,产生新的高度变化,但是这个高度不够 infinite-scroll-distance 时,导致再次调用 loadMore
    2. 当调用 loadMore 时,由于底部有加载动作条渲染,而实际上又没有新的数据(比如接口返回零行),导致无限调用 loadMore
    
    ElemeFE#35
    ElemeFE#18
    tianjianchn committed Oct 10, 2017
    Configuration menu
    Copy the full SHA
    7bf345e View commit details
    Browse the repository at this point in the history