Skip to content

Intermittent error from removeDraggable #38

@floer32

Description

@floer32

This is probably self-inflicted due to a usage error on my part, but I'm seeing this sometimes (and it breaks behavior):

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_pendingCleanup')
    at updatePath (dev.js:168:12)
    at updatePath (dev.js:165:7)
    at updatePath (dev.js:165:7)
    at dev.js:193:17
    at batch (dev.js:415:14)
    at setStore (dev.js:193:5)
    at removeDraggable (drag-drop-context.jsx:91:9)
    at Array.<anonymous> (create-draggable.js?t=1652401249008:19:21)
    at cleanNode (dev.js:936:62)
    at cleanNode (dev.js:932:45)

Is it possible that no cleanup is required in that case? (Could it soft-fail?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions