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

fixed bug, textfield switch to textview cause dead loop #62

Closed
wants to merge 2 commits into from

Conversation

aelam
Copy link

@aelam aelam commented Apr 5, 2014

see #61

@aelam aelam closed this Apr 5, 2014
@aelam aelam reopened this Apr 5, 2014
@lucabartoletti
Copy link
Contributor

How i can replicate this bug? Are you applying the addKeyboardPanningWithFrameBasedActionHandler to the textView?

@aelam
Copy link
Author

aelam commented Apr 8, 2014

no, please see the demo of the PR I have sent , you can uncomment the
'resignFirstResponder'

Then try to switch textview and text field

在 2014年4月8日,下午4:43,Luca Bartoletti notifications@github.com 写道:

How i can replicate this bug? Are you applying the addKeyboardPanningWithFrameBasedActionHandler to the textView?


Reply to this email directly or view it on GitHub.

@aelam
Copy link
Author

aelam commented Apr 8, 2014

2014-04-08 4 54 00

open your demo project and add these code in it.

    UITextView *t = [[UITextView alloc] initWithFrame:CGRectMake(0, 80, CGRectGetWidth(self.view.bounds), 40)];
    t.text = @"This is a TextView";
    [self.view addSubview:t];

    [self.view addKeyboardPanningWithActionHandler:^(CGRect keyboardFrameInView) {

fixed keyboard backgroundView position error
@aelam aelam closed this Jun 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants