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

Ensure that draggable occurs on bound element #557

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nickl-
Copy link

@nickl- nickl- commented Jun 11, 2021

Packery misbehaves when another draggable element is moved which is not the bound element.

See codepen for example and attempt to drag the text "Drag me".

This fixes the bug by checking to ensure that the element bound is actually the element triggering the event.

nickl- and others added 2 commits June 11, 2021 12:58
Packery misbehaves when another draggable element is moved which is not the bound element.
Checks to ensure that the element bound is actually the element triggering the event.
Distribute fixes for pr metafizzy#557
@nickl-
Copy link
Author

nickl- commented Jun 11, 2021

Added distribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant