Open westofpluto opened 4 years ago
Hello Nice library but please update your tutorial on egghead.io. That code uses:
innerRef={provided.innerRef}
which is incorrect. My code matched your code exactly and the items would not drag. After lots of searching around, I stumbled across the solution:
ref={provided.innerRef}
It does not seem to matter whether the component is styled or not - the variable to set is called ref.
Just adding a link to the ref docs for future reference
https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/using-inner-ref.md
Hello Nice library but please update your tutorial on egghead.io. That code uses:
which is incorrect. My code matched your code exactly and the items would not drag. After lots of searching around, I stumbled across the solution:
It does not seem to matter whether the component is styled or not - the variable to set is called ref.