-
Notifications
You must be signed in to change notification settings - Fork 872
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
[Request] Add a direction prop to set which way the picker opens #171
Comments
Hi @MrLeebo. I've also had the specific problem you are mentioning, you can solve it using JS. Maybe even HTML using an anchor? But about your suggestion, I think the idea is good. If you'd like to create the code I'd be happy to review the PR. |
I created the issue because I don't think I have time to learn the repo and implement this right now, but if that changes I will open up a PR. |
+1 Will also try to spin up a PR... |
A tip: use react-date-playground for development (check the README). |
Hacked for 5 mins and opened the PR above. Are people happy with the approach? If so I will tidy it up and actually follow the contributing guidelines etc. ;-) |
For me |
I agree. Bootstrap Popover/Tooltip/Overlay uses prop |
|
any updates? |
Is there a workaround to get the date picker above the input field? |
This is a new feature request. If you position the Datetime control towards the bottom of the page, the picker will appear below it and off the page entirely, forcing the user to scroll before they can make a selection. I hope it would not be too much trouble to add a
direction
prop which could takeoneOf(['up', 'down', 'left', 'right'])
and position the picker in that direction relative to the input.The text was updated successfully, but these errors were encountered: