Description of bug
My data for KanbanBoard is coming from the API which i am saving in the React useState and using React State variable in the and when moving card from Lane A to B i am getting mentioned error. Firstly i was using function component but after the issue i changed it to the Class component but the issue remained same.
Expected Behaviour
When i am moving card into the same lane As (from Lane A to Lane A) then i there is no issues and showing correct data as handleDragEnd is working properly.
Unexpected Behaviour
But this is not working in When i am moving card across different lanes and showing below error.
LaneHelper.js:53 Uncaught TypeError: Cannot read properties of undefined (reading 'find')
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Description of bug My data for KanbanBoard is coming from the API which i am saving in the React useState and using React State variable in the and when moving card from Lane A to B i am getting mentioned error. Firstly i was using function component but after the issue i changed it to the Class component but the issue remained same.
Expected Behaviour When i am moving card into the same lane As (from Lane A to Lane A) then i there is no issues and showing correct data as handleDragEnd is working properly.
handleDragEnd={ (cardId, sourceLaneId, targetLaneId, position, cardDetails) => console.log(cardId, sourceLaneId, targetLaneId, position, cardDetails) }
L553B344S1674 O461A787K550 O461A787K550 1 {...cardDetails}
Unexpected Behaviour But this is not working in When i am moving card across different lanes and showing below error. LaneHelper.js:53 Uncaught TypeError: Cannot read properties of undefined (reading 'find')
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):