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

Fixing drag start lock #271

Merged
merged 2 commits into from
Jan 16, 2018
Merged

Fixing drag start lock #271

merged 2 commits into from
Jan 16, 2018

Conversation

alexreardon
Copy link
Collaborator

Thanks @Li0liQ for finding this!

@@ -165,7 +168,7 @@ export default class DragHandle extends Component<Props> {
}

// this will check if anything else in the system is dragging
if (!this.canLift()) {
if (!this.canLift(this.props.draggableId)) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the fix. Previously this allowed drags to start while a drop was occurring on the same element (which is not supported).

Copy link
Contributor

@jaredcrowe jaredcrowe left a comment

Choose a reason for hiding this comment

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

lgtm!

@alexreardon alexreardon merged commit aae1493 into master Jan 16, 2018
@alexreardon alexreardon deleted the fixing-drag-start-lock branch January 16, 2018 06:16
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.

2 participants