Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
281 stars 77 forks source link

DatePicker: support selecting end date in range first and showing hover range #8454

Open driskull opened 9 months ago

driskull commented 9 months ago

Check existing issues

Description

When selecting a range end value at present time, you are not shown a hover range to select the start date.

Acceptance Criteria

A hover range should be shown if a user is selecting the end date first just as the hover range is shown when selecting the start date.

Relevant Info

https://github.com/Esri/calcite-design-system/pull/8444#pullrequestreview-1789327570

Which Component

date-picker

Example Use Case

https://codepen.io/AaronPutterman/pen/PoVrdoY?editors=100

  1. select the end date input first
  2. Select a date
  3. Hover over other dates and notice nothing is displayed.
  4. Reload the app
  5. Select the start date input first
  6. Select a date
  7. Hover over other dates and see the range style appearing allowing you to select a range from a single date picker.

Priority impact

p4 - not time sensitive

Calcite package

Esri team

N/A

geospatialem commented 1 month ago

Blocked by https://github.com/Esri/calcite-design-system/pull/8402.