Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: DatePicker with Range Component Sets Dates to 2001 When Clicking Outside #15925

Closed
1 of 2 tasks
zacharydmoore opened this issue Mar 8, 2024 · 1 comment · Fixed by #16202
Closed
1 of 2 tasks

Comments

@zacharydmoore
Copy link

zacharydmoore commented Mar 8, 2024

Package

@carbon/react

Browser

Chrome

Package version

1.52.0

React version

v16.14

Description

When clicking outside the DatePicker with Range component after selecting a range and then reopening the component, it will set the dates to 2001 and not close until you select new dates.

Reproduction/example

https://stackblitz.com/edit/github-unsz1w?file=src%2FApp.jsx

Steps to reproduce

Navigate to your storybook for the component. Select a date range. Open the picker back up and click outside the picker.

Suggested Severity

Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.

Application/PAL

No response

Code of Conduct

@andreancardona
Copy link
Contributor

Thank you for opening this issue - we've added it to our backlog :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants