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 an issue dropping with out placeholder #736

Merged
merged 1 commit into from
May 21, 2021

Conversation

alsundukov
Copy link
Contributor

@alsundukov alsundukov commented May 19, 2021

#456
Fixes #456

Similar changes were made in the commit bc04696 Avery Lemons, but all this was in the docs directory

@coveralls
Copy link

coveralls commented May 19, 2021

Coverage Status

Coverage increased (+9.6%) to 86.502% when pulling c59b5e0 on alsundukov:master into 908e0df on lukasoppermann:master.

@lukasoppermann
Copy link
Owner

Hey @alsundukov thanks for the PR, I added a question.

Can you also please rebase the PR?

Would it be possible to include this in the tests, so that we do note have a decrease in coverage? Thank you.

@alsundukov
Copy link
Contributor Author

Hey @lukasoppermann, I did it

@lukasoppermann
Copy link
Owner

Hey @alsundukov great, thank you.

Can you please also reply / act on the two comments I added in the review? Thanks

@alsundukov
Copy link
Contributor Author

Sure, but I don't see your questions, sorry

// remove placeholder from dom
visiblePlaceholder.remove()
} else {
// set the dropped value to 'true' to delete copied dragging at the time of 'dragend'
Copy link
Owner

Choose a reason for hiding this comment

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

@alsundukov you write set to true but you are setting it to false, can you explain this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ops, this is a typo in the comment

insertAfter(visiblePlaceholder, dragging);
// remove placeholder from dom
visiblePlaceholder.remove();
if (visiblePlaceholder) {
Copy link
Owner

Choose a reason for hiding this comment

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

Can you please remove this file from the PR, it will be auto-generated on build. Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, of course

@lukasoppermann
Copy link
Owner

Sorry, it was somehow still pending, you should see it now.

@alsundukov
Copy link
Contributor Author

Done

@lukasoppermann
Copy link
Owner

Great, thank you.

@lukasoppermann lukasoppermann merged commit d680bce into lukasoppermann:master May 21, 2021
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.

On fast drops the drop event fires before placeholder is created and component breaks
3 participants