-
Notifications
You must be signed in to change notification settings - Fork 49
🐛 Fix: dragging an event with its form window open does not work #302
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
🐛 Fix: dragging an event with its form window open does not work #302
Conversation
I'm not sure why we have the below removed piece of code, but it was the culprit behind the issue. If it was part of an important UX logic we can revisit this in the future
|
I'm good with this. I'm guessing I kept that code in there by accident during the initial PR. It seems like it's not needed, so glad we can delete it.
I'm assuming the code comment you're referring to is or These comments are trying to clarify why we need to check whether the form is open: to help us differentiate between a drag and a simple mouse move. A drag happens when the mouse is down and moving. |
|
This change broke this test:
The test validates a useful use-case; we don't want onDrag rendering superfluously, which will cause performance issues that are difficult to debug down the road. Can you investigate how to preserve the functionality while also not breaking the test? @that-one-arab |
|
Also please look into why CI isn't running for your PRs. CI should run automatically on every push as part of the PR process, so I'm confused why this wasn't caught before merge 🤔 Look at your previous PR - they don't have the green checks, which means CI isn't running. @that-one-arab
|
Ah thanks for pointing this out. I'll check this out and ensure that future changes made won't break existing tests |
My bad I wasn't aware of the CI checks, I'll make sure it runs in future PRs. |
It should run automatically on every push based on |




Description
Closes #298
I'm not sure why we have the below removed piece of code, but it was the culprit behind the issue.
I read the code comments about allowing drag only if form is open, but I couldn't comprehend it.
If it was part of an important UX logic we can revisit this in the future
Videos
Before
Peek.2025-03-13.15-50.webm
After
Peek.2025-03-13.13-47.webm