{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/downshift/issues/278","repository_url":"https://api.github.com/repos/paypal/downshift","labels_url":"https://api.github.com/repos/paypal/downshift/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/paypal/downshift/issues/278/comments","events_url":"https://api.github.com/repos/paypal/downshift/issues/278/events","html_url":"https://github.com/paypal/downshift/pull/278","id":280619618,"number":278,"title":"fix(getButtonProps): automatically focus on the button if necessary","user":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars0.githubusercontent.com/u/1500684?v=4","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-08T21:17:18Z","updated_at":"2017-12-08T21:21:10Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/paypal/downshift/pulls/278","html_url":"https://github.com/paypal/downshift/pull/278","diff_url":"https://github.com/paypal/downshift/pull/278.diff","patch_url":"https://github.com/paypal/downshift/pull/278.patch"},"body":"<!--\r\nThanks for your interest in the project. Bugs filed and PRs submitted are appreciated!\r\n\r\nPlease make sure that you are familiar with and follow the Code of Conduct for\r\nthis project (found in the CODE_OF_CONDUCT.md file).\r\n\r\nAlso, please make sure you're familiar with and follow the instructions in the\r\ncontributing guidelines (found in the CONTRIBUTING.md file).\r\n\r\nIf you're new to contributing to open source projects, you might find this free\r\nvideo course helpful: http://kcd.im/pull-request\r\n\r\nPlease fill out the information below to expedite the review and (hopefully)\r\nmerge of your pull request!\r\n-->\r\n\r\n<!-- What changes are being made? (What feature/bug is being fixed here?) -->\r\n\r\n**What**: auto-focus the target if the activeElement is the body\r\n\r\n<!-- Why are these changes necessary? -->\r\n\r\n**Why**: Closes #276\r\n\r\n<!-- How were these changes implemented? -->\r\n\r\n**How**: Just change the logic a bit in the button click handler and improve the prop types.\r\n\r\n<!-- Have you done all of these things?  -->\r\n\r\n**Checklist**:\r\n\r\n<!-- add \"N/A\" to the end of each line that's irrelevant to your changes -->\r\n\r\n<!-- to check an item, place an \"x\" in the box like so: \"- [x] Documentation\" -->\r\n\r\n* [ ] Documentation N/A\r\n* [ ] Tests N/A\r\n* [x] Ready to be merged\r\n      <!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->\r\n* [x] Added myself (or others) to contributors table\r\n      <!-- this is optional, see the contributing guidelines for instructions -->\r\n\r\n<!-- feel free to add additional comments -->\r\n\r\n\r\ncc @httpete-ire and @philipyoungg :)"},"comment":{"url":"https://api.github.com/repos/paypal/downshift/issues/comments/350375002","html_url":"https://github.com/paypal/downshift/pull/278#issuecomment-350375002","issue_url":"https://api.github.com/repos/paypal/downshift/issues/278","id":350375002,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars0.githubusercontent.com/u/8655789?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2017-12-08T21:21:10Z","updated_at":"2017-12-08T21:21:10Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/paypal/downshift/pull/278?src=pr&el=h1) Report\n> Merging [#278](https://codecov.io/gh/paypal/downshift/pull/278?src=pr&el=desc) into [master](https://codecov.io/gh/paypal/downshift/commit/d81062dc42d6dc7de645ab4ac037656faabf377d?src=pr&el=desc) will **not change** coverage.\n> The diff coverage is `100%`.\n\n[![Impacted file tree graph](https://codecov.io/gh/paypal/downshift/pull/278/graphs/tree.svg?token=e2n40mA59i&src=pr&height=150&width=650)](https://codecov.io/gh/paypal/downshift/pull/278?src=pr&el=tree)\n\n```diff\n@@          Coverage Diff          @@\n##           master   #278   +/-   ##\n=====================================\n  Coverage     100%   100%           \n=====================================\n  Files           4      4           \n  Lines         310    311    +1     \n  Branches       75     76    +1     \n=====================================\n+ Hits          310    311    +1\n```\n\n\n| [Impacted Files](https://codecov.io/gh/paypal/downshift/pull/278?src=pr&el=tree) | Coverage Δ | |\n|---|---|---|\n| [src/downshift.js](https://codecov.io/gh/paypal/downshift/pull/278/diff?src=pr&el=tree#diff-c3JjL2Rvd25zaGlmdC5qcw==) | `100% <100%> (ø)` | :arrow_up: |\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/paypal/downshift/pull/278?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\n> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/paypal/downshift/pull/278?src=pr&el=footer). Last update [d81062d...4d5ac0e](https://codecov.io/gh/paypal/downshift/pull/278?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\n"}}
{"actor":{"display_login":"codecov-io"}}