{"action":"opened","issue":{"url":"https://api.github.com/repos/hackiftekhar/IQKeyboardManager/issues/245","labels_url":"https://api.github.com/repos/hackiftekhar/IQKeyboardManager/issues/245/labels{/name}","comments_url":"https://api.github.com/repos/hackiftekhar/IQKeyboardManager/issues/245/comments","events_url":"https://api.github.com/repos/hackiftekhar/IQKeyboardManager/issues/245/events","html_url":"https://github.com/hackiftekhar/IQKeyboardManager/issues/245","id":94431813,"number":245,"title":"Keyboard Shown in front of popup window","user":{"login":"ivangarcialopez","id":6485021,"avatar_url":"https://avatars.githubusercontent.com/u/6485021?v=3","gravatar_id":"","url":"https://api.github.com/users/ivangarcialopez","html_url":"https://github.com/ivangarcialopez","followers_url":"https://api.github.com/users/ivangarcialopez/followers","following_url":"https://api.github.com/users/ivangarcialopez/following{/other_user}","gists_url":"https://api.github.com/users/ivangarcialopez/gists{/gist_id}","starred_url":"https://api.github.com/users/ivangarcialopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivangarcialopez/subscriptions","organizations_url":"https://api.github.com/users/ivangarcialopez/orgs","repos_url":"https://api.github.com/users/ivangarcialopez/repos","events_url":"https://api.github.com/users/ivangarcialopez/events{/privacy}","received_events_url":"https://api.github.com/users/ivangarcialopez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-11T03:43:35Z","updated_at":"2015-07-11T03:43:35Z","closed_at":null,"body":"Hello, thanks a lot for your code. It's really helpful.\r\nI found a problem and I don't know how to proceed. I'm using the IQKeyboardManager and it works perfect between the 2 fields in my login screen.\r\nI added a function in the textFieldShouldReturn delegate which when I have the 2 fields completed and I'm in the last field when I press the return button in the keyboard I log in into the app. \r\nThe problem is when I have a failure in the login a popup message is shown but the keyboard is shown again right after the popup message. But this keyboard is not working at all (nothing when you press done button or next/previous arrow).\r\nI tried with the IQKeyboardManager resignFirstResponder and the self.view.editing(false) in all delegate methods trying to finish the editing and close the keyboard before and after calling the login function but it's not working.\r\n\r\nI have attached the screenshot.\r\n![ios simulator screen shot 10 jul 2015 23 38 39](https://cloud.githubusercontent.com/assets/6485021/8632151/1b148ab2-275d-11e5-9887-7fa6bfc25200.png)"}}