arqex / arqex/react-datetime

[Request] Add a direction prop to set which way the picker opens

Open
#171 11 comments 11 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

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 take `oneOf(['up', 'down', 'left', 'right'])` and position the picker in that direction relative to the input.

```

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.