Weird behavior when expanding date #1124
Unanswered
visualcookie
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hej.
I'm having a weird behavior, which I don't get why it should be like this.
Expected
When you've selected a date range and want to change the range, the previous range needs to be reset and start from the newly selected day.
Current
When you've selected a date range and change the range, the range expands to the newly selected date. (See link below)
https://gyazo.com/3b6f7fd5ecabaf2ae35a62c6c2ca80ee
I'm using
"react-day-picker": "^7.2.4"
along with this structure http://react-day-picker.js.org/examples/selected-range. I know, that there exists the following example http://react-day-picker.js.org/examples/selected-range-enter, but this disables the previous dates. But my behavior should be, that the user can also reverse the dates. Eg. click on13
and go back to3
.Beta Was this translation helpful? Give feedback.
All reactions