palantir/blueprint

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

Open

#3,890 创建于 2019年12月11日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)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

贡献者指南