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

bug fix: only load drag and drop overlay if drag event contains file #620

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

interim17
Copy link
Contributor

Time estimate or Size

tiny

Problem

Closes #619

Solution

Pretty straightforward fix, check for files before triggering drag and drop overlay.

I've known about this bug but was having trouble reliably reproducing it, finally figured out how to make the bug happen reliably so I chased it down.

@interim17 interim17 requested a review from a team as a code owner December 6, 2024 00:52
@interim17 interim17 requested review from toloudis and frasercl and removed request for a team December 6, 2024 00:52
Copy link

github-actions bot commented Dec 6, 2024

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 67.25% 735/1093
🟡 Branches 66.86% 113/169
🔴 Functions 36.36% 100/275
🟡 Lines 65.67% 656/999

Test suite run success

139 tests passing in 8 suites.

Report generated by 🧪jest coverage report action from ce8dc56

@interim17 interim17 added the bug Something isn't working label Dec 6, 2024
@interim17 interim17 changed the title only load drag and drop overlay if drag event contains file bug fix: only load drag and drop overlay if drag event contains file Dec 6, 2024
@interim17 interim17 merged commit cd1df4d into main Dec 20, 2024
6 checks passed
@interim17 interim17 deleted the fix/empty-drag branch December 20, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 👓 In Review / Blocked
Development

Successfully merging this pull request may close these issues.

empty drag and drop event render overlay
3 participants