Skip to content

no-overlap layout algorithm issue #2240

@lukbak

Description

@lukbak

Check that this is really a bug

  • I confirm

Bug description

no-overlap algorithm does not work correctly.

Steps to reproduce:

  1. Open https://jquense.github.io/react-big-calendar/examples/index.html?path=/story/examples--example-3
  2. Select Day view.
  3. Create event from 12:00 AM to 1:00 AM.
  4. Create another event from 1:00 AM to 1:30 AM.

Current effect

e1

Expected effect

Both slots from the example should be full wide.

react-big-calendar version

1.5.0

React version

17.0.2

Validations

  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions