-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
When selectable is true, click into calendar and press any key on keyboard at same time, this error appears. #2424
Comments
This error comes from using a string for a date property, instead of a true JS Date object. See our documentation on Understanding Dates |
That |
@quanghuyTiPiCi I'm sorry. I see what you're doing now. Seeing the code you point out, it looks as if there may not be any |
Just here to +1 on this bug, took me a while to figure out what was happening but can confirm we're seeing this bug as well on |
we see this all the time - i think whats happening is that Edit: will submit a PR |
…f undefined (reading 'getDate')
@cutterbl @LorienHW @quanghuyTiPiCi I think this is a 2024-04-02.15.13.55.movI modified some logic in the 2024-04-02.15.37.21.mov |
the issue also repros just by clicking around a lot. the |
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/gracious-panini-5jwfwq?file=/src/App.js
Bug description
When selectable is true, click into calendar and press any key on keyboard at same time, this error appears.

Expected Behavior
No response
Actual Behavior
No response
react-big-calendar version
1.8.1
React version
18.2.0
Platform/Target and Browser Versions
Chrome, Firefox, etc...
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: