-
Notifications
You must be signed in to change notification settings - Fork 7
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
restrictMovementArea didn't seem to work #3
Comments
at the moment it makes all children of a given vnode sortable, in your example you would have to branch out the ul, compose the makeSortable with that and merge them back together So you can only restrict the items to a parent component of them |
The less we have config options and the more we have smart defaults and "just works", the better. Maybe most of the options could be removed, and maybe some option can be used to specify a section where to apply makeSortable. |
Yes, I agree, the less options there are, the less I have to maintain.
Currently it's the first Version.
At the moment I'm in favor of the second version. |
If you take the example in
cyclejs/examples/http-search-github
, I tried to add this library by including this line:Apparently it added
.x-sortable-item
to all of the elements under the div. I would expect onlyli
elements underul.search-results
would get the.x-sortable-item
.The text was updated successfully, but these errors were encountered: