{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/2595","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/2595/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/2595/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/2595/events","html_url":"https://github.com/erikras/redux-form/issues/2595","id":208022707,"node_id":"MDU6SXNzdWUyMDgwMjI3MDc=","number":2595,"title":"Autofocus not working inside Reactstrap Modal","user":{"login":"indapublic","id":856260,"node_id":"MDQ6VXNlcjg1NjI2MA==","avatar_url":"https://avatars3.githubusercontent.com/u/856260?v=4","gravatar_id":"","url":"https://api.github.com/users/indapublic","html_url":"https://github.com/indapublic","followers_url":"https://api.github.com/users/indapublic/followers","following_url":"https://api.github.com/users/indapublic/following{/other_user}","gists_url":"https://api.github.com/users/indapublic/gists{/gist_id}","starred_url":"https://api.github.com/users/indapublic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indapublic/subscriptions","organizations_url":"https://api.github.com/users/indapublic/orgs","repos_url":"https://api.github.com/users/indapublic/repos","events_url":"https://api.github.com/users/indapublic/events{/privacy}","received_events_url":"https://api.github.com/users/indapublic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-16T05:38:16Z","updated_at":"2018-06-01T19:37:25Z","closed_at":"2017-02-21T04:49:47Z","author_association":"NONE","body":"redux-form@6.5.0 (latest currently)\r\nBrowser: Google Chrome, Firefox\r\n\r\nCode example:\r\n\r\n```\r\nimport React, {Component} from 'react'\r\nimport {connect} from 'react-redux'\r\nimport {Modal} from 'reactstrap'\r\nimport {Field, reduxForm} from 'redux-form'\r\n\r\nconst renderField = ({input, label, type, autoFocus}) => (\r\n  <div>\r\n    <input\r\n      {...input}\r\n      type={type}\r\n      placeholder={label}\r\n      autoFocus={autoFocus}\r\n    />\r\n  </div>\r\n)\r\n\r\nclass Test extends Component {\r\n\r\n  render () {\r\n    const {handleSubmit} = this.props\r\n    return (\r\n      <Modal isOpen={true}>\r\n        <form onSubmit={handleSubmit}>\r\n          <fieldset>\r\n            <Field name=\"email\" type=\"email\" component={renderField} label=\"Email Address\" />\r\n            <Field name=\"password\" type=\"password\" component={renderField} label=\"Password\" autoFocus={true} />\r\n            <button type=\"submit\">Press me</button>\r\n          </fieldset>\r\n        </form>\r\n      </Modal>\r\n    )\r\n  }\r\n\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/393987923","html_url":"https://github.com/erikras/redux-form/issues/2595#issuecomment-393987923","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/2595","id":393987923,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Mzk4NzkyMw==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-01T19:37:25Z","updated_at":"2018-06-01T19:37:25Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}