-
Notifications
You must be signed in to change notification settings - Fork 136
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
hidden keyboard when open menu #19
Comments
I'm not certain of what you are reporting. Do you want to resignFirstResponder when you open the menu? |
Yes, wanna hidden keyboard when open menu... |
Well, I'm going to assume you started with my demo code since you haven't given me any code to work with here... In GHAppDelegate.m, the revealBlock is called when a user taps the menu button so you could add a line to dismiss the current responder before opening the menu like so: RevealBlock revealBlock = ^(){
[self.revealController.view endEditing:YES]; // This is the line that will dismiss the current responder
[self.revealController toggleSidebar:!self.revealController.sidebarShowing
duration:kGHRevealSidebarDefaultAnimationDuration];
}; |
thank you its work correctly when press to button (revealSidebar method). |
i added [self.view endEditing:YES]; to this method - (void)dragContentView:(UIPanGestureRecognizer *)panGesture and work correctly also.. thank you again 👍 |
No problem; glad to help! |
hello thank for amazing framework
i have problem, when use textfield in view and keyboard rise up and go to menu... the keyboard doesnt hidden... and its still appear
check image attached
The text was updated successfully, but these errors were encountered: