{"action":"closed","issue":{"url":"https://api.github.com/repos/unmade/am-date-picker/issues/3","labels_url":"https://api.github.com/repos/unmade/am-date-picker/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/unmade/am-date-picker/issues/3/comments","events_url":"https://api.github.com/repos/unmade/am-date-picker/issues/3/events","html_url":"https://github.com/unmade/am-date-picker/issues/3","id":122538177,"number":3,"title":"Canceling year selection","user":{"login":"SirDarquan","id":9931708,"avatar_url":"https://avatars.githubusercontent.com/u/9931708?v=3","gravatar_id":"","url":"https://api.github.com/users/SirDarquan","html_url":"https://github.com/SirDarquan","followers_url":"https://api.github.com/users/SirDarquan/followers","following_url":"https://api.github.com/users/SirDarquan/following{/other_user}","gists_url":"https://api.github.com/users/SirDarquan/gists{/gist_id}","starred_url":"https://api.github.com/users/SirDarquan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirDarquan/subscriptions","organizations_url":"https://api.github.com/users/SirDarquan/orgs","repos_url":"https://api.github.com/users/SirDarquan/repos","events_url":"https://api.github.com/users/SirDarquan/events{/privacy}","received_events_url":"https://api.github.com/users/SirDarquan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-16T15:59:47Z","updated_at":"2016-01-08T19:12:23Z","closed_at":"2016-01-08T19:12:23Z","body":"The year selection option is really nice to have but if you accidentally clicked it, there's no way to undo that without closing the whole picker. I believe you need to capture the escape key when the year picker is open so escape can cancel year selection and change the \"Today\" and \"OK\" buttons to just \"Cancel\" to give users a way to close it with the mouse. Clicking the current year is an option to \"cancel\" the operation but doesn't feel as natural as having a cancel mechanism."}}