Skip to content
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

Attaches DayPicker caret to inputs instead of the picker component #118

Merged
merged 1 commit into from
Oct 13, 2016

Conversation

majapw
Copy link
Collaborator

@majapw majapw commented Oct 12, 2016

So I've been thinking about this problem specifically for #83, and after @travisbloom introduced anchorDirection in (#72, it became pretty clear that we were doing a lot of grossness to make carets consistently align. Combine this with the fact that we have to override caret styles at Airbnb for medium breakpoints, and the point is that I was getting annoying.

While it makes some sense to attach the caret to the DateRangePicker__picker, I think it actually makes more sense for placement to attach them to the inputs.

to: @airbnb/webinfra

@majapw majapw mentioned this pull request Oct 12, 2016
3 tasks
@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.969% when pulling 1b2662d on maja-attach-picker-caret-to-input into 04a9ee8 on master.

Copy link
Collaborator

@wyattdanger wyattdanger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@travisbloom
Copy link
Contributor

so much cleaner, nice @majapw

@majapw majapw force-pushed the maja-attach-picker-caret-to-input branch from 1b2662d to 7d6e129 Compare October 13, 2016 18:22
@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.969% when pulling 7d6e129 on maja-attach-picker-caret-to-input into eb4bf33 on master.

@majapw majapw merged commit bc06856 into master Oct 13, 2016
@majapw majapw deleted the maja-attach-picker-caret-to-input branch October 13, 2016 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants