React-dates: Vertical orientation does not allow selection of months prior to the current selection

Created on 10 Jan 2018  路  12Comments  路  Source: airbnb/react-dates

http://airbnb.io/react-dates/?selectedKind=DateRangePicker%20%28DRP%29&selectedStory=vertical%20with%20custom%20height&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel

Using the default storybook, I select start and end date to be 2 months in the future. Then I click on start or end date and try and pick a date in this month but this month is not displayed or navigable.

bug pull request wanted

Most helpful comment

Hello! Any development on this issue? 馃槃

All 12 comments

Nevermind, the buttons were scrolled off the screen.

It turns out that the problem does exist when using Vertical Scroll orientation. When vertical scroll orientation is selected the previous button is never displayed for me.

I didn't find a story book example for vertical scroll to verify behavior.

I tried to run a story to demonstrate the problem with no luck.
.addWithInfo('vertical scrollable initial month', () => ( <DayPickerRangeControllerWrapper onOutsideClick={action('DayPickerRangeController::onOutsideClick')} onPrevMonthClick={action('DayPickerRangeController::onPrevMonthClick')} onNextMonthClick={action('DayPickerRangeController::onNextMonthClick')} orientation={VERTICAL_SCROLLABLE} withPortal numberOfMonths={12} initialVisibleMonth={() => moment().add(10, 'months')} /> ))

Hello! Any development on this issue? 馃槃

+1

Anything?

Hello, i have some time and will to work on this issue. Can i do it? @majapw / @backwardok

@Mathiasduc Yes please! That'd be wonderful

Hello,
I tried to look around and it look like that now you cannot event make it work in vertical scrollable mode anymore with the SingleDatePicker anymore (which was my use case). But i'll have a look at this specific issue regarding the DayPickerRange and see if i can strike two birds with one stone.

Hello @Mathiasduc,

Any news about it?

Hi,
At the time i tried to work on it and it was too much for me to get fully immersed in the code base, so i did not progress much.
Sorry :s

any update on this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

easwee picture easwee  路  55Comments

kakadiadarpan picture kakadiadarpan  路  22Comments

Jucesr picture Jucesr  路  19Comments

rodryquintero picture rodryquintero  路  70Comments

majapw picture majapw  路  26Comments