-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
function as group.put not working with nested sortables #1434
Comments
Currently digging into this because it blocks me. It's due to Currently I have no idea why nor how to solve this. Maybe a side-effect of one the fixes? (Can't tell if, as your commit history is not really helpful in this regard.) |
Well, as far as I can tell it's indeed a problem with how Though, even by putting the block which defines |
@nilmerg Indeed it works in 1.8.0-rc1, but only because bubbling is blocked, which is sub-optimal. Problem was that target was being set to the Try Use this link: https://raw.githack.com/SortableJS/Sortable/master/Sortable.js |
Yes, works like a charm. Thanks a bunch! |
Problem:
A function bound to
group.put
returnsfalse
but the drop is still rendered and accepted for nested sortables. For non-nested sortables this works fine.JSBin/JSFiddle demonstrating the problem:
https://jsbin.com/mucilolido/edit?html,css,js,output
Environment
Broken Sortable.js Version: 1.8.0
Working Sortable.js Version: 1.8.0-rc1
The text was updated successfully, but these errors were encountered: