{"action":"created","issue":{"url":"https://api.github.com/repos/Mottie/Keyboard/issues/337","labels_url":"https://api.github.com/repos/Mottie/Keyboard/issues/337/labels{/name}","comments_url":"https://api.github.com/repos/Mottie/Keyboard/issues/337/comments","events_url":"https://api.github.com/repos/Mottie/Keyboard/issues/337/events","html_url":"https://github.com/Mottie/Keyboard/issues/337","id":60675432,"number":337,"title":"destroying a keyboard while it is visible doesn't fully remove it","user":{"login":"patriciavandermeer","id":4323153,"avatar_url":"https://avatars.githubusercontent.com/u/4323153?v=3","gravatar_id":"","url":"https://api.github.com/users/patriciavandermeer","html_url":"https://github.com/patriciavandermeer","followers_url":"https://api.github.com/users/patriciavandermeer/followers","following_url":"https://api.github.com/users/patriciavandermeer/following{/other_user}","gists_url":"https://api.github.com/users/patriciavandermeer/gists{/gist_id}","starred_url":"https://api.github.com/users/patriciavandermeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriciavandermeer/subscriptions","organizations_url":"https://api.github.com/users/patriciavandermeer/orgs","repos_url":"https://api.github.com/users/patriciavandermeer/repos","events_url":"https://api.github.com/users/patriciavandermeer/events{/privacy}","received_events_url":"https://api.github.com/users/patriciavandermeer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Mottie/Keyboard/labels/Bug","name":"Bug","color":"ff0303"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-11T15:22:29Z","updated_at":"2015-03-11T21:59:41Z","closed_at":"2015-03-11T21:17:42Z","body":"First off: Great plugin, thanks for maintaining it!!\r\n\r\nI am making a page where the user can choose if they want to show the keyboard for the inputs or not.  \r\n\r\nBasically, they check a checkbox, it sets the keyboards up, they uncheck it, it removes them.\r\n\r\nIf they have it checked, and click in the input, it shows the keyboard perfectly,  then they check the checkbox (before clicking anywhere else). The keyboard will hide, but when you click back into the input, it comes back.  Once this has happened, the keyboard no longer hides when you click outside of it either.\r\n\r\nIf they have clicked away from the input, before they uncheck the box,  it behaves as expected and goes away until they re-check the box.\r\n\r\nI've created a very basic fiddle of this behaviour:\r\nhttp://jsfiddle.net/n2yh4ym9/\r\n\r\nI've tried adding .close()  and triggering blur on the input before the destroy call with no luck.  \r\n\r\nAny ideas on what i'm doing wrong, or how to tweak this to work?\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Mottie/Keyboard/issues/comments/78381773","html_url":"https://github.com/Mottie/Keyboard/issues/337#issuecomment-78381773","issue_url":"https://api.github.com/repos/Mottie/Keyboard/issues/337","id":78381773,"user":{"login":"Mottie","id":136959,"avatar_url":"https://avatars.githubusercontent.com/u/136959?v=3","gravatar_id":"","url":"https://api.github.com/users/Mottie","html_url":"https://github.com/Mottie","followers_url":"https://api.github.com/users/Mottie/followers","following_url":"https://api.github.com/users/Mottie/following{/other_user}","gists_url":"https://api.github.com/users/Mottie/gists{/gist_id}","starred_url":"https://api.github.com/users/Mottie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mottie/subscriptions","organizations_url":"https://api.github.com/users/Mottie/orgs","repos_url":"https://api.github.com/users/Mottie/repos","events_url":"https://api.github.com/users/Mottie/events{/privacy}","received_events_url":"https://api.github.com/users/Mottie/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T21:59:41Z","updated_at":"2015-03-11T21:59:41Z","body":"Well, it started working when I copied the code exactly from my local demo:\r\n\r\nhttp://jsfiddle.net/Mottie/n2yh4ym9/2/ \r\n\r\nSooo odd. But now it works :smile_cat: "}}