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

Fixed draggable event block alignment #251

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

RichardZhangRZ
Copy link

Summary

Fixed realignment of draggable event block on mouse press-down event (see issue #250). The new CSS 'left property is calculated by rounding down the current block ref's left property into a multiple of 20%.

How to Test

  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 should be aligned on the left side of the day column.

image

@RichardZhangRZ RichardZhangRZ changed the title Fixed draggable block realignment Fixed draggable block alignment Sep 2, 2023
@RichardZhangRZ RichardZhangRZ changed the title Fixed draggable block alignment Fixed draggable event block alignment Sep 2, 2023
@RichardZhangRZ RichardZhangRZ marked this pull request as ready for review September 2, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant