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

Controls addon date Control Type bug #15109

Open
cerkwchia opened this issue May 31, 2021 · 3 comments
Open

Controls addon date Control Type bug #15109

cerkwchia opened this issue May 31, 2021 · 3 comments

Comments

@cerkwchia
Copy link

cerkwchia commented May 31, 2021

Describe the bug
Controls addon - date Control Type select month and type 11 by using keyboard, it automatically updated month to 12. - this happened on March 31st and May 31st and It might happen again on July 31st, Aug 31st when the day is on 31st.

To Reproduce
Create date Control Type on storybook
value: { control: "date" },
change the system date to May 31st or March 31st and using keyboard to type on the month field part. month 11 will automatically change to 12.

System
Storybook version:
6.1.14
storybook/react:
v6.1.14
react version:
17.0.1
Platform:
win32 x64

Additional context
DatePickerControl

@shilman
Copy link
Member

shilman commented Jun 1, 2021

I'm not able to reproduce. Can you make a screen recording to demonstrate?

@cerkwchia
Copy link
Author

dateControl

@ndelangen
Copy link
Member

This seems like a really small contained bug, that maybe a first time contributor could find a fix for.

I suspect it might already be fixed in the next branch though. So if anyone would be able to see if they can reproduce this still on the next branch that'd be awesome.

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

No branches or pull requests

3 participants