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

LaneHelper.js:53 Uncaught TypeError: Cannot read properties of undefined (reading 'find') #512

Open
Krishan9518 opened this issue Sep 8, 2022 · 0 comments

Comments

@Krishan9518
Copy link

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):

  • Ubuntu 18.04 LTS
  • chrome
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

No branches or pull requests

1 participant