React-dates: DayPickerRangeController position top

Created on 13 Dec 2017  Â·  3Comments  Â·  Source: airbnb/react-dates

Hi, is there a feature that i'm missing regarding the position of DayPickerRangeController?
For example if i placing the Input on the bottom of the page (fixed position), the DayPickerRangeController won't show as it will render below the input.
I think we should have a position prop with the shape of bottom || top.
Or maybe even better, if react dates could calculate the position by it self and decide if it should be rendered above or below the input.

question

Most helpful comment

Do you mean when using the DateRangePicker? I think there is already a prop
for this. It is called openDirection.

On Mon, Dec 18, 2017, 2:16 AM Sagiv ben giat notifications@github.com
wrote:

Any thoughts about this? 😮

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/react-dates/issues/900#issuecomment-352354936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUdtbp5OwE_qafom-RZMoEuZvDUkoExks5tBh9wgaJpZM4RAng-
.

All 3 comments

Any thoughts about this? 😮

Do you mean when using the DateRangePicker? I think there is already a prop
for this. It is called openDirection.

On Mon, Dec 18, 2017, 2:16 AM Sagiv ben giat notifications@github.com
wrote:

Any thoughts about this? 😮

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/react-dates/issues/900#issuecomment-352354936,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUdtbp5OwE_qafom-RZMoEuZvDUkoExks5tBh9wgaJpZM4RAng-
.

@majapw Yup, you are right!
And yeah i meant DateRangePicker, i had a typo.
I guess I've missed it. sorry. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrseanbaines picture mrseanbaines  Â·  3Comments

arthurvi picture arthurvi  Â·  3Comments

Daniel15 picture Daniel15  Â·  3Comments

mgm793 picture mgm793  Â·  3Comments

Adam-Pendleton picture Adam-Pendleton  Â·  3Comments