gt-scheduler / website

Scheduling application designed to mitigate some of the pain-points present throughout Georgia Tech's registration process.
https://gt-scheduler.org
GNU Affero General Public License v3.0
92 stars 22 forks source link

Holding on Recurring Event Crosses Over to Next Day #250

Open RichardZhangRZ opened 1 year ago

RichardZhangRZ commented 1 year ago

Describe the bug When first trying to drag a recurring event on a specific day that is in conflict with a course/other event and the event is not on the left side of the day column, the draggable block first appears to be split between two consecutive days. The event block is realigned properly when the mouse moves, but the block will remain split between two days if a user clicks down but does not move their mouse. However, if the event spans multiple days, the block will remain split between two days regardless if the user moves their mouse.

To Reproduce Steps to reproduce the behavior. Example:

  1. Add a course or event to the calendar.
  2. Add a recurring event that lasts longer than the meeting added in Step 1 and is in conflict with one of its days.
  3. Click down on the longer event (but don't move your mouse)
  4. The draggable block crosses over between two days on the calendar.

Expected behavior The draggable block should realign to the left side of the day column on the right calendar. This would be how the draggable blocks look like when the mouse moves, but the realignment should happen when the mouse is just clicked down.

Screenshots Expected: image

Actual: 20230902_182316