Skip to content

panGesture disable #445

Closed
Closed
@fuboyou

Description

@fuboyou

hello, my app leftDrawerViewController have a subView is tableView,the tableView bounce set NO, fast and frequent sliding in tableView, the up and down or so silding, then MMDrawerController panGesture will disable.
version:

MMDrawerController (0.6.0)

file:

 MMDrawerController.m

function:

(void)panGestureCallback:(UIPanGestureRecognizer *)panGesture

code:

case UIGestureRecognizerStateBegan:{
    if(self.animatingDrawer){
        [panGesture setEnabled:NO];
        break;
    }
    else {
        self.startingPanRect = self.centerContainerView.frame;
    }
}

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