Skip to content

function as group.put not working with nested sortables #1434

@nilmerg

Description

@nilmerg

Problem:

A function bound to group.put returns false 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions