-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
DatePicker resets manually input value when clicking outside #2692
Comments
Hi there! 👋 If you're wondering why this issue was moved, we're currently updating our repo structure so that every package is found in the same project. This should not have any impact for you, but we wanted to give you a heads up in case you were wondering what is going on. If you have any questions, feel free to reach out to us on Slack or contact us at: [email protected]. Thanks! |
Hi @FrivalszkyP! Thank you for bringing this to our attention, I am not able to recreate this problem so it seems like this might have been addressed, could you see if you can still reproduce the issue? |
I can reproduce the problem in a different way. |
The last comment above seems about a different issue, closer to: #3832 |
Closing since this due to inactivity, if you would like us to take a look into this please link to a CodeSanbox that illustrates the problem you're having. Thanks! |
DatePicker resets value when clicking outside
Detailed description
If you change the date via keyboard while the date picker dropdown is open, clicking outside the input field will reset the value.
Related component: DatePicker
Browser: Chrome, latest (74)
Carbon Design System V9 and V10 are both affected.
Steps to reproduce the issue
Expected result:
Actual result:
Additional information
This behavior can be reproduced in the storybook examples easily:
http://v6-react.carbondesignsystem.com/?selectedKind=DatePicker&selectedStory=single%20with%20calendar&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybooks%2Fstorybook-addon-knobs
http://react.carbondesignsystem.com/?selectedKind=DatePicker&selectedStory=simple&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Fstories%2Fstories-panel
Notes
The VanillaJS code in the Carbon Design System website behaves differently, so this is clearly an inconsistency with the Carbon Design System. Check here:
https://www.carbondesignsystem.com/components/date-picker/code
The text was updated successfully, but these errors were encountered: