Skip to content

mjrefreshautofooter调用endrefreshing无法正确重置scrollview的contentoffset #1610

Description

@SmithJackyson

MJRefreshAutoFooter.m里面的setState方法里面重置contentoffset代码似乎有问题,如果用户这时候一直在交互,isDragging或者isDecelerating为true,会导致此时contentoffset并不处于静止时所处的位置,这时候获取contentoffset来重置scrollview的位置会出错,如果每个cell的大小和scrollview大小一致,最终会导致cell没有对齐scrollview

偶现

期望:能正确重置回没有显示footer时,cell的位置

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions