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

day and week views break when setting max time to a full hour #1051

Closed
eschreiner opened this issue Oct 18, 2018 · 2 comments
Closed

day and week views break when setting max time to a full hour #1051

eschreiner opened this issue Oct 18, 2018 · 2 comments
Labels

Comments

@eschreiner
Copy link
Contributor

eschreiner commented Oct 18, 2018

Do you want to request a feature or report a bug?

a bug :-(

  • version 0.19.0 works fine
  • versions 0.20.x show this behaviour

What's the current behavior?

When limiting the time range of a calendar by setting max to a full hour, e.g. max={new Date(2018,1,1,20,0,0)}, the day and week views do no longer align the events properly:

• the time gutter renders an additional hour slot
• the events are no longer aligned with the gutter

image

What's the expected behavior?

That the events are rendered properly :-)

Steps to reproduce

In the examples file demos/selectable.js, insert line 42 as

max={new Date(2018,1,1,20,0,0)}

The day and week views' time gutters render an additional hour, events are not aligned.

max={new Date(2018,1,1,19,59,59)}

works (visually).

@eschreiner eschreiner changed the title Bug - day and week views breaks when setting max time to a full hour day and week views break when setting max time to a full hour Oct 18, 2018
@eschreiner
Copy link
Contributor Author

views break also when setting max to a half hour, e.g. 17:30

@stale
Copy link

stale bot commented May 23, 2019

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.

@stale stale bot added the wontfix label May 23, 2019
@stale stale bot closed this as completed May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant