You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rendering an event at the end of the day, 2 slots will appear to be taken up instead of one even though the underlying event start and end are correct. Furthermore, if you try to use midnight as an end instead of 23:59:59, the event will appear outside (above) the day.
Update
It appears this bug did not exist in version 0.17.0 as per this sandbox (I assume the live demo is also using this or another version prior to this bug being introduced): https://codesandbox.io/s/frosty-moser-q8hd1
Last slot of the day rendering (styles) match underlying event start and end.
I would be happy to look into this issue if I can have some confirmation that this isn't intended behavior that can be worked around in some way that I'm missing (since the live example appears to not have this bug)
The text was updated successfully, but these errors were encountered:
@ffjanhoeck your bug appears to be a different issue (on the surface). Have you experienced this behavior as well and/or found a common source of this behavior in the code?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Do you want to request a feature or report a bug?
bug
What's the current behavior?
When rendering an event at the end of the day, 2 slots will appear to be taken up instead of one even though the underlying event
start
andend
are correct. Furthermore, if you try to use midnight as anend
instead of 23:59:59, the event will appear outside (above) the day.Here is a CodeSandbox that demonstrates the issue:
https://codesandbox.io/s/peaceful-fermi-2ww08
And pics of the behavior:
https://imgur.com/a/qYIMKXO
I've tried to reproduce this example (and dependencies) as a model:
https://github.com/intljusticemission/react-big-calendar/blob/master/examples/demos/selectable.js
but interestingly the live demo doesn't appear to have this problem:
http://intljusticemission.github.io/react-big-calendar/examples/index.html#selectable
Update
It appears this bug did not exist in version 0.17.0 as per this sandbox (I assume the live demo is also using this or another version prior to this bug being introduced):
https://codesandbox.io/s/frosty-moser-q8hd1
Update 2
Regression is caused by: 9689b7d#diff-0f5fda8a0fc3ee4c6e348a7804c7c141R133
What's the expected behavior?
Last slot of the day rendering (styles) match underlying event
start
andend
.I would be happy to look into this issue if I can have some confirmation that this isn't intended behavior that can be worked around in some way that I'm missing (since the live example appears to not have this bug)
The text was updated successfully, but these errors were encountered: