Skip to content
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

Fix remove undefined ref #226

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix remove undefined ref #226

wants to merge 1 commit into from

Conversation

93html
Copy link

@93html 93html commented Jun 27, 2017

When i change "items" data for container which always disabled=true, this error happend

Uncaught TypeError: Cannot read property 'indexOf' of undefined
    at Manager.getIndex (Manager.js:66)
    at Manager.remove (Manager.js:40)
    at _class.removeDraggable (index.js:113)
    at _class.componentWillReceiveProps (index.js:82)

@linonetwo
Copy link

Can this be merged?

Uncaught TypeError: Cannot read property 'indexOf' of undefined
    at Manager.getIndex (react-sortable-hoc.esm.js:60)
    at Manager.remove (react-sortable-hoc.esm.js:36)
    at WithSortableElement.unregister (react-sortable-hoc.esm.js:1561)
    at WithSortableElement.componentWillUnmount (react-sortable-hoc.esm.js:1535)

is quite annoying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants