React-dates: VerticalScrollable dateRangePicker would be nice

Created on 12 Dec 2017  路  7Comments  路  Source: airbnb/react-dates

As far as I can see, it is not possible to set orientation to verticalScrollable on a dateRangePicker. Only on dayPickerRange. it would be nice to include this, as you can then have a scrollable fullscreen portal with for example 6 months. Not possible atm.

If i'm wrong, then please describe how

feature request

Most helpful comment

+1

Adding the property orientation="verticalScrollable" seems to accomplish what you're looking for, but it throws a warning:

Warning: Failed prop type: Invalid prop `orientation` of value `verticalScrollable` 
supplied to `withStyles(DateRangePicker)`, expected one of ["horizontal","vertical"]

All 7 comments

+1

Adding the property orientation="verticalScrollable" seems to accomplish what you're looking for, but it throws a warning:

Warning: Failed prop type: Invalid prop `orientation` of value `verticalScrollable` 
supplied to `withStyles(DateRangePicker)`, expected one of ["horizontal","vertical"]

Hey, is there any movement on this as I'd like to use verticalScrollable on a project :)

Any update on this request?

Any way to prevent that warning being thrown? I'm using VERTICAL_SCROLLABLE and seems to work fine but would be nice to have a clean console.

+1 here. Possibly that it is not fully supported?

+1 here. Possibly that it is not fully supported?

It is possible, but it seems the only thing left to do is to add "verticalScrollable" as a valid word for this parameter.

Any movement on this? Would be really nice to have this feature!

Was this page helpful?
0 / 5 - 0 ratings