Skip to content

Bug Report: Overlapping Tasks Issue in React-Big-Scheduler #273

@sauvikGoel-logicSquare

Description

@sauvikGoel-logicSquare

When creating tasks in react-big-scheduler, if two tasks overlap in time and one has a larger range, the larger task completely hides the smaller task, making the smaller task invisible in the scheduler view.

Screenshot 2024-10-16 at 5 23 13 PM

Steps to Reproduce

  • Create two tasks:
  • Task 1: Scheduled from 1:00 PM to 1:30 PM.
  • Task 2: Scheduled from 12:30 PM to 3:00 PM.
  • Render these tasks in the scheduler for the same date.
  • Task 2 (the longer duration task) completely overlaps and hides Task 1 (the shorter duration task).

Expected Behavior
Both tasks should be visible in the scheduler, with the overlapping area clearly indicated (e.g., side-by-side or layered).

Actual Behavior
Task 2 fully hides Task 1, making Task 1 completely invisible.

Environment

react-big-scheduler version: ^0.2.7
React version: ^18.2.0
Browser: 130.0.6723.59

Additional Notes
The issue seems to occur specifically when Task 2 starts before and ends after Task 1, causing Task 2 to completely hide Task 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions