-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add openDirection
prop
#653
Add openDirection
prop
#653
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems pretty solid.
20e3da6
to
20d3044
Compare
Is there anything stopping this being merged currently? Would love to see this go in! |
Ah, I'll resolve the merge conflicts when I have a sec, hopefully today or tomorrow. |
20d3044
to
a0a559d
Compare
Addresses react-dates#648. * Add `openDirection` prop to `<DateRangePicker/>`, `<SingleDatePicker/>`, `<DateRangePickerInputController/>`, `<DateRangePickerInput/>`, `<SingleDatePickerInput/>`, `<DateInput/> * Add SCSS variables for input font size, padding, etc. (used in calculation for open-up absolute positioning) * Add stories and tests for new prop
a0a559d
to
cdf779e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems legit to me
Cheers @timhwang21 @majapw ! |
@majapw - so can we take care of singleDatePicker based on viewport height or width? please advise? |
Fixes #648.
openDirection
prop to<DateRangePicker/>
,<SingleDatePicker/>
,<DateRangePickerInputController/>
,<DateRangePickerInput/>
,<SingleDatePickerInput/>
, `