Skip to content

Greedy clarification #107

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

Closed
wants to merge 2 commits into from
Closed

Greedy clarification #107

wants to merge 2 commits into from

Conversation

DaveStein
Copy link
Contributor

The description was a little ambiguous. With current documentation, I did not expect parent should have fired console.log in this example: http://jsfiddle.net/pe62d/2/

I was assuming the event bubble was being stopped within the widget. I'm not too sure my wording of "via the callback method" is the greatest either. Let me know what you think

@scottgonzalez
Copy link
Member

I think this wording is confusing as well. It makes it sound like we're explicitly firing the event on the parents. We probably shouldn't mention callback and event as separate things. Just say that the event will bubble up to the parents, and you can check event.target to see which droppable received the draggable element.

@scottgonzalez
Copy link
Member

Landed in 64070f2.

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.

2 participants