{"action":"created","issue":{"url":"https://api.github.com/repos/ajimix/Input-Framer/issues/2","repository_url":"https://api.github.com/repos/ajimix/Input-Framer","labels_url":"https://api.github.com/repos/ajimix/Input-Framer/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/ajimix/Input-Framer/issues/2/comments","events_url":"https://api.github.com/repos/ajimix/Input-Framer/issues/2/events","html_url":"https://github.com/ajimix/Input-Framer/pull/2","id":167219483,"number":2,"title":"Add callbacks for onFocus and onBlur","user":{"login":"slwen","id":859298,"avatar_url":"https://avatars.githubusercontent.com/u/859298?v=3","gravatar_id":"","url":"https://api.github.com/users/slwen","html_url":"https://github.com/slwen","followers_url":"https://api.github.com/users/slwen/followers","following_url":"https://api.github.com/users/slwen/following{/other_user}","gists_url":"https://api.github.com/users/slwen/gists{/gist_id}","starred_url":"https://api.github.com/users/slwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slwen/subscriptions","organizations_url":"https://api.github.com/users/slwen/orgs","repos_url":"https://api.github.com/users/slwen/repos","events_url":"https://api.github.com/users/slwen/events{/privacy}","received_events_url":"https://api.github.com/users/slwen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-24T06:12:23Z","updated_at":"2016-08-10T03:09:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ajimix/Input-Framer/pulls/2","html_url":"https://github.com/ajimix/Input-Framer/pull/2","diff_url":"https://github.com/ajimix/Input-Framer/pull/2.diff","patch_url":"https://github.com/ajimix/Input-Framer/pull/2.patch"},"body":"Maybe there is another way to do this but I personally ran in to situations where I wanted to move elements in my prototype based on whether the keyboard was visible or not.\r\n\r\nAdding some simple callback options for the `focus` and `blur` events helped me to achieve that fairly easily. Open to a different approach if you have something in mind @ajimix "},"comment":{"url":"https://api.github.com/repos/ajimix/Input-Framer/issues/comments/238754341","html_url":"https://github.com/ajimix/Input-Framer/pull/2#issuecomment-238754341","issue_url":"https://api.github.com/repos/ajimix/Input-Framer/issues/2","id":238754341,"user":{"login":"slwen","id":859298,"avatar_url":"https://avatars.githubusercontent.com/u/859298?v=3","gravatar_id":"","url":"https://api.github.com/users/slwen","html_url":"https://github.com/slwen","followers_url":"https://api.github.com/users/slwen/followers","following_url":"https://api.github.com/users/slwen/following{/other_user}","gists_url":"https://api.github.com/users/slwen/gists{/gist_id}","starred_url":"https://api.github.com/users/slwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slwen/subscriptions","organizations_url":"https://api.github.com/users/slwen/orgs","repos_url":"https://api.github.com/users/slwen/repos","events_url":"https://api.github.com/users/slwen/events{/privacy}","received_events_url":"https://api.github.com/users/slwen/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T03:09:56Z","updated_at":"2016-08-10T03:09:56Z","body":"@curly-brackets that's not quite what I'm after. The `keyup` event triggers only during entering input. The effect I am after is to trigger animations alongside the same `focus` event that the keyboard listens for, here's an example of what I'm doing in action:\r\n\r\n![keyboard480](https://cloud.githubusercontent.com/assets/859298/17540686/79daafb4-5efb-11e6-926a-e4a91b542b9d.gif)\r\n\r\nNotice the small circular avatar images in the bottom right and how they move up and down in reaction to the keyboard.\r\n"}}
{"actor":{"display_login":"slwen"}}