Skip to content

Conversation

@sroy3
Copy link
Contributor

@sroy3 sroy3 commented Sep 27, 2022

Closes #2423

Screen.Recording.2022-09-27.at.3.18.00.PM.mov

Since onDragEnd is being called only half the time, there is now a failsafe on mouse move. If the mouse moves with no mouse button pressed and the drag and drop state is not clean, it'll call the cleanup function to reset the state.

@sroy3 sroy3 added the bug Something isn't working label Sep 27, 2022
@sroy3 sroy3 self-assigned this Sep 27, 2022
@sroy3 sroy3 marked this pull request as ready for review September 27, 2022 19:21
@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit f76faaa and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 87.5% (85% is the threshold).

This pull request will bring the total coverage in the repository to 97.0% (0.0% change).

View more on Code Climate.

@sroy3 sroy3 merged commit 7a814bb into main Sep 27, 2022
@sroy3 sroy3 deleted the drag-drop-cleanup branch September 27, 2022 22:25
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

None yet

Development

Successfully merging this pull request may close these issues.

Images table DnD: header stuck in the "dnd" state

2 participants