{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/react-dates/issues/1166","repository_url":"https://api.github.com/repos/airbnb/react-dates","labels_url":"https://api.github.com/repos/airbnb/react-dates/issues/1166/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/react-dates/issues/1166/comments","events_url":"https://api.github.com/repos/airbnb/react-dates/issues/1166/events","html_url":"https://github.com/airbnb/react-dates/issues/1166","id":322778351,"number":1166,"title":"openDirection in SingleDatePicker don't working","user":{"login":"Andrevoks","id":20276252,"avatar_url":"https://avatars2.githubusercontent.com/u/20276252?v=4","gravatar_id":"","url":"https://api.github.com/users/Andrevoks","html_url":"https://github.com/Andrevoks","followers_url":"https://api.github.com/users/Andrevoks/followers","following_url":"https://api.github.com/users/Andrevoks/following{/other_user}","gists_url":"https://api.github.com/users/Andrevoks/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrevoks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrevoks/subscriptions","organizations_url":"https://api.github.com/users/Andrevoks/orgs","repos_url":"https://api.github.com/users/Andrevoks/repos","events_url":"https://api.github.com/users/Andrevoks/events{/privacy}","received_events_url":"https://api.github.com/users/Andrevoks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-14T11:33:47Z","updated_at":"2018-05-15T06:14:53Z","closed_at":null,"author_association":"NONE","body":"why openDirection don't working in SingleDatePicker, it works in DateRangePicker but in SingleDatePicker no\r\n```\r\n<SingleDatePicker\r\n                    openDirection={\"up\"}\r\n                    date={this.state.date}\r\n                    isOutsideRange={() => false}\r\n                    isDayHighlighted={day => isSameDay(moment(new Date()),moment(day))}\r\n                    daySize={30}\r\n                    verticalSpacing={2}\r\n                    onDateChange={date => {\r\n                        this.setState({ date });\r\n                        if(date) {\r\n                            this.props.onSaveValue(date.unix());\r\n                        }\r\n                    }}\r\n                    displayFormat={this.props.dateFormat}\r\n                    focused={this.state.focused}\r\n                    numberOfMonths={1}\r\n                    placeholder={this.props.dateFormat}\r\n                    onFocusChange={({ focused }) =>{\r\n                        this.setState({ focused });\r\n                        this.props.isCalendarOpen(focused)\r\n                    }}\r\n                />\r\n```\r\nand i receive http://joxi.ru/BA05EMVhBg9xyr calendar which placed at bottom\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/airbnb/react-dates/issues/comments/389054618","html_url":"https://github.com/airbnb/react-dates/issues/1166#issuecomment-389054618","issue_url":"https://api.github.com/repos/airbnb/react-dates/issues/1166","id":389054618,"user":{"login":"Andrevoks","id":20276252,"avatar_url":"https://avatars2.githubusercontent.com/u/20276252?v=4","gravatar_id":"","url":"https://api.github.com/users/Andrevoks","html_url":"https://github.com/Andrevoks","followers_url":"https://api.github.com/users/Andrevoks/followers","following_url":"https://api.github.com/users/Andrevoks/following{/other_user}","gists_url":"https://api.github.com/users/Andrevoks/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrevoks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrevoks/subscriptions","organizations_url":"https://api.github.com/users/Andrevoks/orgs","repos_url":"https://api.github.com/users/Andrevoks/repos","events_url":"https://api.github.com/users/Andrevoks/events{/privacy}","received_events_url":"https://api.github.com/users/Andrevoks/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T06:14:53Z","updated_at":"2018-05-15T06:14:53Z","author_association":"NONE","body":"![n-tile - google chrome_001](https://user-images.githubusercontent.com/20276252/40039720-2a92a3ba-5820-11e8-9921-9586cd307c5f.png)\r\nhmmm.... i added appendToBody={true} and it help, but calendar has strange position"}}
{"actor":{"display_login":"Andrevoks"}}