We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Passing min and max props breaks the position of events.
min
max
https://codesandbox.io/s/14jq64y553
Events to be in the correct position.
The text was updated successfully, but these errors were encountered:
I created a pull request to fix this issue
Sorry, something went wrong.
You have to deduct one minute (eg 17:59 if you want 18:00).
This piece of code is causing it (but I think it is by design, 0:00 -> 23:59). https://github.com/intljusticemission/react-big-calendar/blob/master/src/utils/TimeSlots.js#L14 1 minute is added to totalMin var. A little bit further the numGroups is calculated and the number is rounded to the top (Math.ceil). This will cause numGroups to be incorrect (1 too much).
No branches or pull requests
Do you want to request a feature or report a bug?
Bug
What's the current behavior?
Passing
min
andmax
props breaks the position of events.https://codesandbox.io/s/14jq64y553
What's the expected behavior?
Events to be in the correct position.
The text was updated successfully, but these errors were encountered: