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 closeOnSelect prop is not working #15215

Closed
2 tasks done
guidari opened this issue Nov 16, 2023 · 2 comments · Fixed by #15431
Closed
2 tasks done

[Bug]: Datepicker closeOnSelect prop is not working #15215

guidari opened this issue Nov 16, 2023 · 2 comments · Fixed by #15431
Assignees
Labels
role: dev 🤖 severity: 3 User can complete task, and/or has a workaround type: bug 🐛

Comments

@guidari
Copy link
Contributor

guidari commented Nov 16, 2023

Package

@carbon/react

Browser

No response

Package version

1.42

React version

18.2

Description

The prop closeOnSelect is not working as expected. It is suppose to avoid the close action when the user select a date in the calendar if the prop is set as false.

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-datepicker--playground&args=closeOnSelect:!false

Steps to reproduce

  • Go to the Datepicker playground and set the closeOnSelect to false;
  • Open tge calendar and select a date;
  • (Expected) Calendar should NOT close

Suggested Severity

Severity 4 = Unrelated to a user task, has a workaround or does not need a workaround.

Application/PAL

No response

Code of Conduct

@AdityaPimpalkar
Copy link
Contributor

Hey @guidari Mind if I take this up? Thanks! :)

@guidari
Copy link
Contributor Author

guidari commented Dec 20, 2023

Hey @AdityaPimpalkar
Definitely! I'll will assign you to the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
role: dev 🤖 severity: 3 User can complete task, and/or has a workaround type: bug 🐛
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants