Skip to content
This repository was archived by the owner on Sep 18, 2021. It is now read-only.

Pulling in not working for scrollViewDidEndDragging #73

@ynie

Description

@ynie

In TUIScrollView ~line 950,


if(_pull.xPulling) {
    _pull.xPulling = NO;
...
 }
        
if(_pull.yPulling) {
    _pull.yPulling = NO;
...
}
        
if(self.isPulling && _scrollViewFlags.didChangeContentInset){
...
}

self.isPulling is always false. Create a temporary variable to remember the state of isPulling can solve this problem.

Steven

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions