At https://flatpickr.js.org/plugins/#rangeplugin-beta, I see second attempt (meaning, after both start/end dates are set) to open calendar dropdown and selecting a date re-uses one of previously-selected start/end dates. The steps are:
- Go to https://flatpickr.js.org/plugins/#rangeplugin-beta
- Select "Date 1"
- Select September 16th, 2019 - It set as the start date
- Select September 20th, 2019 - It set as the end date and calendar dropdown closes
- Select "Date 1" again
- Select September 23th, 2019
Result: The calendar dropdown closes, and September 23th, 2019 is set as the end date and September 20th, 2019 becomes the start date.
Expected (probably as an optional behavior): September 23th, 2019 is set as the start date, and the calendar dropdown is kept open. User can select e.g. September 27th, 2019 as the end date without re-opening the calendar dropdown.
Your Environment
- flatpickr version used:
4.6.1
- Browser name and version: Chrmoe 77
- OS and version: MacOS 10.14.6
At https://flatpickr.js.org/plugins/#rangeplugin-beta, I see second attempt (meaning, after both start/end dates are set) to open calendar dropdown and selecting a date re-uses one of previously-selected start/end dates. The steps are:
Result: The calendar dropdown closes, and September 23th, 2019 is set as the end date and September 20th, 2019 becomes the start date.
Expected (probably as an optional behavior): September 23th, 2019 is set as the start date, and the calendar dropdown is kept open. User can select e.g. September 27th, 2019 as the end date without re-opening the calendar dropdown.
Your Environment
4.6.1