{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/react-dates/issues/17","repository_url":"https://api.github.com/repos/airbnb/react-dates","labels_url":"https://api.github.com/repos/airbnb/react-dates/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/react-dates/issues/17/comments","events_url":"https://api.github.com/repos/airbnb/react-dates/issues/17/events","html_url":"https://github.com/airbnb/react-dates/issues/17","id":172023655,"number":17,"title":"Cannot indicate which month is visible on open","user":{"login":"majapw","id":1383861,"avatar_url":"https://avatars.githubusercontent.com/u/1383861?v=3","gravatar_id":"","url":"https://api.github.com/users/majapw","html_url":"https://github.com/majapw","followers_url":"https://api.github.com/users/majapw/followers","following_url":"https://api.github.com/users/majapw/following{/other_user}","gists_url":"https://api.github.com/users/majapw/gists{/gist_id}","starred_url":"https://api.github.com/users/majapw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majapw/subscriptions","organizations_url":"https://api.github.com/users/majapw/orgs","repos_url":"https://api.github.com/users/majapw/repos","events_url":"https://api.github.com/users/majapw/events{/privacy}","received_events_url":"https://api.github.com/users/majapw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/airbnb/react-dates/labels/feature%20request","name":"feature request","color":"1d76db"},{"url":"https://api.github.com/repos/airbnb/react-dates/labels/pull%20request%20wanted","name":"pull request wanted","color":"fbca04"},{"url":"https://api.github.com/repos/airbnb/react-dates/labels/semver-minor:%20new%20stuff","name":"semver-minor: new stuff","color":"c5def5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-18T23:27:04Z","updated_at":"2016-08-19T01:16:06Z","closed_at":null,"body":"Ideally this should be a controlled prop that would default to the current month. That way you can close the `<DayPicker />` and reopen to where you were previously\r\n\r\nMy vision is that this would be a `currentMonth` prop on the `SingleDatePicker` and on the `DateRangePicker` that would take in a moment object. If a parent component wanted to keep track of this in the state then, they could do so using the `onPrevMonthClick` and `onNextMonthClick` callbacks."},"comment":{"url":"https://api.github.com/repos/airbnb/react-dates/issues/comments/240902579","html_url":"https://github.com/airbnb/react-dates/issues/17#issuecomment-240902579","issue_url":"https://api.github.com/repos/airbnb/react-dates/issues/17","id":240902579,"user":{"login":"travisbloom","id":1258114,"avatar_url":"https://avatars.githubusercontent.com/u/1258114?v=3","gravatar_id":"","url":"https://api.github.com/users/travisbloom","html_url":"https://github.com/travisbloom","followers_url":"https://api.github.com/users/travisbloom/followers","following_url":"https://api.github.com/users/travisbloom/following{/other_user}","gists_url":"https://api.github.com/users/travisbloom/gists{/gist_id}","starred_url":"https://api.github.com/users/travisbloom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/travisbloom/subscriptions","organizations_url":"https://api.github.com/users/travisbloom/orgs","repos_url":"https://api.github.com/users/travisbloom/repos","events_url":"https://api.github.com/users/travisbloom/events{/privacy}","received_events_url":"https://api.github.com/users/travisbloom/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T01:16:06Z","updated_at":"2016-08-19T01:16:06Z","body":"Ya, I was concerned that if currentMonth was a prop the parent owned after showing it would mess up all the animation goodness.\r\n\r\nAgree with calling it visibleMonthOnOpen. If there is a date passed to the component, do you want to use that as the default month as a backup?\r\n\r\nOrder I'm envisioning: month showing on mount goes `visibleMonthOnOpen || date || moment().startOf('month')`?"}}
{"actor":{"display_login":"travisbloom"}}