palantir/blueprint

Date range picker: range selection to day not intuitive (not consistent with react-day-picker)

Open

#3,890 opened on 2019年12月11日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
P3Package: datetimeType: enhancementhelp wanted

説明

Environment

  • Package version(s): 3.22
  • Browser and OS versions: Firefox/Chrome 78.0 and Windows 10

Actual behavior

I have a range selected and I want to just select one specific day (without range). The way this works in Date range picker (BlueprintJS) implementation is not intuitive and also it is not consistent with how it works in react-day-picker.

Blueprint Date range picker: Video made directly from https://blueprintjs.com/docs/#datetime/daterangepicker

2019-12-11_12-47-58

Expected behavior

React-day-picker: Video made directly from http://react-day-picker.js.org/examples/selected-range/

2019-12-11_12-48-44

This method makes much more sense to me. If I have a range selected and click on either the start/end range day, then the range should be stopped and the individual day should be picked.

Possible solution

コントリビューターガイド

Date range picker: range selection to day not intuitive (not consistent with react-day-picker) · palantir/blueprint#3890 | Good First Issue