Skip to content

Updated onTapStart Handler to not bubble avoiding errors with nested sortables#328

Closed
cef62 wants to merge 1 commit into
SortableJS:masterfrom
cef62:fix-oldIndex-with-nested-lists
Closed

Updated onTapStart Handler to not bubble avoiding errors with nested sortables#328
cef62 wants to merge 1 commit into
SortableJS:masterfrom
cef62:fix-oldIndex-with-nested-lists

Conversation

@cef62
Copy link
Copy Markdown

@cef62 cef62 commented Apr 2, 2015

Stopping event propagation avoids wrong indexes for starting position
with nested sortables.
Without this fix when an element inside a nested sortable is dragged the event oldIndex will refer to the index of the most outer sortable instead of the starting index of the dragged item.
Related #152 and
#318

Stopping event propagation avoid wrong indexes for starting position
with nested sortables. Related SortableJS#152 and
SortableJS#318
@RubaXa
Copy link
Copy Markdown
Collaborator

RubaXa commented Apr 9, 2015

This will not work in IE < 10. And in general the wrong approach.

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