Closed seelikes closed 6 years ago
when we select dates in range mode, it is normal that we modify our selection from date to date. it's a better experience that the selected range adapt the user's change rather than reset itself.
when selected date's distance to start and end is equal, set the selected date as new range's end rather than start. i think this is a better experience than set the selected date as the new range's end.
solve that when we click a date before former start date, the new start date remains unselected. if we click the date of the border date, start or end, the other edge's date will be called with unselected, but the current one will not be called with unselected. this may not be the same performance as before, i think i will consider to restore the former performance if someone complains about this.
Hey there, can you create another pull request from a branch, so I can try the code before merging it?
@savvisingh ok
… by NestedScrollView
when CalendarPickerView was contained by NestedScorllView, it can only show its first child, this is one candidate solution.