clauderic / react-infinite-calendar

✨ Infinite scrolling date-picker built with React, with localization, range selection, themes, keyboard support, and more.

Home Page:http://clauderic.github.io/react-infinite-calendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Select "end" date first when using withRange

brendonlamb opened this issue · comments

Is this possible to conditionally reverse the order that dates are selected when using withRange ? I can't find anything in the docs about it.

Basically, I'm using a range selection like this:
image

Both buttons display the calendar, it's very intuitive unless the user makes a mistake ... when they go back to re-select a date the calendar is defaulting to the "start" date, which is confusing.