react-spectrum icon indicating copy to clipboard operation
react-spectrum copied to clipboard

Date and time not updating with shouldCloseOnSelect equals false in DateRangePicker from react-aria-components

Open upender7270 opened this issue 1 year ago โ€ข 0 comments

Provide a general summary of the issue here

I am trying to use the DateRangePicker from react-aria-components. When the props shouldCloseOnSelect = false and granularity="minute" are set, then select a date range, date time not updating in the picker (DateField group) This happened only when we had no date time set initially.

I have added the codesandbox link and video of the behaviour

๐Ÿค” Expected Behavior?

with shouldCloseOnSelect = false On select date range, then the selected date range should be visible in the trigger (FieldGroup)

๐Ÿ˜ฏ Current Behavior

with shouldCloseOnSelect = false On select date range, then the selected date range is not visible in the trigger (FieldGroup)

๐Ÿ’ Possible Solution

No response

๐Ÿ”ฆ Context

No response

๐Ÿ–ฅ๏ธ Steps to Reproduce

https://codesandbox.io/p/sandbox/react-spectrum-range-picker-forked-gk44tw?workspaceId=32ded442-599e-4949-b8e5-e71ce8c0b757 Screencast from 27-08-24 06:54:54 PM IST.webm

Version

1.3.3

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Ubuntu 22.04

๐Ÿงข Your Company/Team

No response

๐Ÿ•ท Tracking Issue

No response

upender7270 avatar Aug 27 '24 13:08 upender7270