Skip to content

DAKeyboadHandler responds NO to gestureRecognizer:shouldReceiveTouch: when a UITextView is the first responder #65

Open

Description

@brad-goss

I have a UITextView inside a UITableView. I've replaced the following line in two projects now, figured it's a noteworthy change. .

DAKeyboardControl.m:320 gestureRecognizer:shouldReceiveTouch:

return (![touch.view isFirstResponder] || ([self isKindOfClass:[UITextView class]] && [self isEqual:touch.view]));

replaced with

return (![touch.view isFirstResponder] || ([touch.view isKindOfClass:[UITextView class]]));

Activity

  1. hectorstudio commented on Jun 4, 2014

    @hectorstudio

    I've experienced the same issue. I don't have a UITextView inside a UITableview but outside the UITableView, the thing is,it works fine at first, but after some swipe to UITableView this thing happends which prevents the panning gesture and it results UITextView locked in the place.

    Also keyboard freezing issue happends when I go back and forth to the View controller that has DAKeyboardControl several times.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions