Skip to content

🐛 fix(web): dragging an all day or timed event does not work#1047

Merged
that-one-arab merged 1 commit intomainfrom
fix/1045-dragging-allday-timed-events-not-working
Oct 2, 2025
Merged

🐛 fix(web): dragging an all day or timed event does not work#1047
that-one-arab merged 1 commit intomainfrom
fix/1045-dragging-allday-timed-events-not-working

Conversation

@that-one-arab
Copy link
Contributor

Description

Closes #1045

Copilot AI review requested due to automatic review settings October 2, 2025 18:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug where dragging all day or timed events does not work properly. The fix involves modifying the dependency array of a useEffect hook to prevent unnecessary re-renders or effect triggers during drag operations.

  • Simplified the dependency array of a useEffect hook in the draft effects handler
  • Removed several dependencies (draft, setDragStatus, setIsFormOpen) from the effect's dependency array

@that-one-arab that-one-arab merged commit 4f5f881 into main Oct 2, 2025
4 checks passed
@that-one-arab that-one-arab deleted the fix/1045-dragging-allday-timed-events-not-working branch October 2, 2025 19:01
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.

dragging an allday or timed event does not work

2 participants