Skip to content

Error on variable changing if not removing DOM elements #117

Closed
@TheLand

Description

@TheLand

I call in my index page an external html page with the DragAndDrop semantic.
The HTML page is contained in a $scope.page.html variable of Angular.

When i press a button and i change the $scope.page.html variable value, an error is thrown:

Error: cannot call methods on droppable prior to initialization; attempted to call method 'destroy'

Also for draggable items.

Removing DOM elements with data-drag and data-drop attributes no error is thrown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions